Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 84.84 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002315/0.002315, allocations: 169.2 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.041e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003486/0.003507, allocations: 2.421 MB / 327.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.004779, allocations: 0.6713 MB / 328.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.004897, allocations: 3.656 kB / 328.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.005048, allocations: 41.11 kB / 328.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.005189, allocations: 73.53 kB / 328.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.005525, allocations: 101.5 kB / 328.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.005867, allocations: 300.1 kB / 328.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.006031, allocations: 54.3 kB / 328.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.006322, allocations: 164.6 kB / 328.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.006503, allocations: 88.61 kB / 329 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.006545, allocations: 22.94 kB / 329 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.006651, allocations: 43 kB / 329 MB, free: 14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.006709, allocations: 51.28 kB / 329.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.006824, allocations: 85.89 kB / 329.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.007237, allocations: 305 kB / 329.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.00724, allocations: 0 / 329.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00724, allocations: 0 / 329.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.007246, allocations: 0 / 329.5 MB, free: 13.81 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008534/0.008099, allocations: 467.6 kB / 329.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.008133, allocations: 10.22 kB / 329.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.008326, allocations: 43 kB / 330 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.008624, allocations: 189 kB / 330.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.008647, allocations: 13.22 kB / 330.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.008698, allocations: 22.61 kB / 330.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.00915, allocations: 243.9 kB / 330.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.009164, allocations: 192 / 330.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.009192, allocations: 10.66 kB / 330.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.009202, allocations: 8.156 kB / 330.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.009547, allocations: 153.8 kB / 330.6 MB, free: 13.02 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.01087, allocations: 0.6274 MB / 331.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.01119, allocations: 139.5 kB / 331.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.0114, allocations: 86.89 kB / 331.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.01143, allocations: 1.312 kB / 331.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.01146, allocations: 37.84 kB / 331.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.01146, allocations: 0 / 331.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001313/0.01277, allocations: 336.6 kB / 331.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.01281, allocations: 57.53 kB / 331.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.01299, allocations: 175.5 kB / 332 MB, free: 11.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.01302, allocations: 33.7 kB / 332.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.01313, allocations: 151.8 kB / 332.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.01319, allocations: 66.52 kB / 332.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/0.01326, allocations: 41.86 kB / 332.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.0134, allocations: 326.2 kB / 332.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.01353, allocations: 50.45 kB / 332.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.01367, allocations: 76.88 kB / 332.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.01393, allocations: 128 kB / 332.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01393, allocations: 1.25 kB / 332.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004415/0.01437, allocations: 219.5 kB / 333.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01439, allocations: 4.5 kB / 333.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01439, allocations: 1.156 kB / 333.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/0.01583, allocations: 217.9 kB / 333.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.01598, allocations: 33.39 kB / 333.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005598/0.01654, allocations: 0.6069 MB / 334 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.01666, allocations: 23.47 kB / 334 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.01667, allocations: 4.812 kB / 334 MB, free: 10.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.01681, allocations: 131.8 kB / 334.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.01686, allocations: 17.03 kB / 334.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004882/0.01735, allocations: 232.7 kB / 334.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01735, allocations: 5.375 kB / 334.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.01736, allocations: 1.406 kB / 334.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01736, allocations: 0 / 334.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008759/0.01824, allocations: 0.499 MB / 334.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.01825, allocations: 5.547 kB / 334.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.0184, allocations: 24.48 kB / 334.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.01952, allocations: 205.7 kB / 335.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.01954, allocations: 5.469 kB / 335.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005327/0.02007, allocations: 0.6232 MB / 335.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.02008, allocations: 1.406 kB / 335.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008807/0.02096, allocations: 419.8 kB / 336.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.02099, allocations: 22.28 kB / 336.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.02102, allocations: 5.406 kB / 336.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.02117, allocations: 9.438 kB / 336.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.02122, allocations: 15.66 kB / 336.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.02123, allocations: 8.938 kB / 336.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.02135, allocations: 138.6 kB / 336.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02135, allocations: 0 / 336.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000324/0.02168, allocations: 68.27 kB / 336.4 MB, free: 8.594 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.02184, allocations: 110.3 kB / 336.5 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004047/0.02224, allocations: 144.4 kB / 336.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.02225, allocations: 1.344 kB / 336.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.02244, allocations: 72.75 kB / 336.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.02277, allocations: 23.3 kB / 336.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.02372, allocations: 0.489 MB / 337.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.02385, allocations: 134.8 kB / 337.4 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.53e-05/0.02391, allocations: 11.33 kB / 337.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.02394, allocations: 13.94 kB / 337.4 MB, free: 7.902 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02394, allocations: 1.125 kB / 337.4 MB, free: 7.902 MB / 302.1 MB Notification: Performance of Templates: time 0.006284/0.03023, allocations: 2.248 MB / 339.7 MB, free: 6.215 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4162466041743755]