Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002268/0.002268, allocations: 187.7 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 47.92 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2642, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004043/0.2682, allocations: 2.387 MB / 425.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.2695, allocations: 0.6233 MB / 426.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.2697, allocations: 4 kB / 426.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.2698, allocations: 31.64 kB / 426.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.2699, allocations: 83.28 kB / 426.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.2702, allocations: 79.83 kB / 426.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.2706, allocations: 274.8 kB / 426.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.2708, allocations: 72.14 kB / 426.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.271, allocations: 115.5 kB / 426.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.2711, allocations: 91.55 kB / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.2712, allocations: 24 kB / 426.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.2713, allocations: 39.97 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.2713, allocations: 51.78 kB / 426.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.2715, allocations: 103.6 kB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.2718, allocations: 281.5 kB / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2718, allocations: 0 / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2718, allocations: 0 / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.2718, allocations: 0 / 427.3 MB, free: 10.23 MB / 334.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.0008842/0.2727, allocations: 485.4 kB / 427.8 MB, free: 9.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.2728, allocations: 8.031 kB / 427.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.2728, allocations: 28.8 kB / 427.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.2732, allocations: 186.2 kB / 428 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.2732, allocations: 12.81 kB / 428 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.2732, allocations: 20.38 kB / 428 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.2737, allocations: 243 kB / 428.3 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2737, allocations: 0 / 428.3 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.2737, allocations: 8 kB / 428.3 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2737, allocations: 8 kB / 428.3 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.274, allocations: 149.7 kB / 428.4 MB, free: 9.031 MB / 334.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.001288/0.2753, allocations: 0.629 MB / 429.1 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.2756, allocations: 142.5 kB / 429.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.2758, allocations: 88.83 kB / 429.3 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.2759, allocations: 3.984 kB / 429.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.2759, allocations: 42.5 kB / 429.3 MB, free: 8.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.2759, allocations: 0 / 429.3 MB, free: 8.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001214/0.2771, allocations: 334.3 kB / 429.7 MB, free: 7.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.2771, allocations: 51.41 kB / 429.7 MB, free: 7.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.2773, allocations: 174.4 kB / 429.9 MB, free: 7.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.2774, allocations: 33.7 kB / 429.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.2775, allocations: 156.3 kB / 430.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.2775, allocations: 59.44 kB / 430.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/0.2776, allocations: 41.7 kB / 430.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2777, allocations: 322.8 kB / 430.5 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.2779, allocations: 51.91 kB / 430.5 MB, free: 6.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.278, allocations: 71.94 kB / 430.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.2783, allocations: 125.6 kB / 430.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2783, allocations: 0 / 430.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004258/0.2787, allocations: 224.9 kB / 430.9 MB, free: 6.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2787, allocations: 8 kB / 430.9 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.2787, allocations: 0 / 430.9 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.28, allocations: 212.6 kB / 431.2 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.2802, allocations: 39.91 kB / 431.2 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005879/0.2808, allocations: 0.6109 MB / 431.8 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.2809, allocations: 19.89 kB / 431.8 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.2809, allocations: 4 kB / 431.8 MB, free: 5.461 MB / 334.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.0001629/0.2811, allocations: 130.4 kB / 432 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.2811, allocations: 19.84 kB / 432 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/0.2816, allocations: 224.2 kB / 432.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2816, allocations: 4.062 kB / 432.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2816, allocations: 4 kB / 432.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2816, allocations: 0 / 432.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.2825, allocations: 0.5045 MB / 432.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2825, allocations: 0 / 432.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.2827, allocations: 31.91 kB / 432.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.2837, allocations: 196.7 kB / 432.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.2837, allocations: 15.88 kB / 432.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006191/0.2844, allocations: 0.6226 MB / 433.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2844, allocations: 0 / 433.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008524/0.2852, allocations: 423.9 kB / 434 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.2852, allocations: 23.81 kB / 434 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.2853, allocations: 12.06 kB / 434 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.2854, allocations: 7.984 kB / 434 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.2855, allocations: 15.92 kB / 434 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2855, allocations: 8 kB / 434 MB, free: 3.137 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.2856, allocations: 136.3 kB / 434.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2856, allocations: 0 / 434.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000318/0.2859, allocations: 59.84 kB / 434.2 MB, free: 2.945 MB / 334.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.0001627/0.2861, allocations: 107.2 kB / 434.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004098/0.2865, allocations: 139.9 kB / 434.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2865, allocations: 0 / 434.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.2867, allocations: 83.89 kB / 434.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.287, allocations: 20 kB / 434.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.288, allocations: 0.568 MB / 435.2 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.2882, allocations: 130.1 kB / 435.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.762e-05/0.2882, allocations: 9.422 kB / 435.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.2883, allocations: 15.44 kB / 435.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2883, allocations: 4 kB / 435.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of Templates: time 0.006618/0.2949, allocations: 2.48 MB / 437.8 MB, free: 15.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.667669903486967]