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.001826/0.001826, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002311/0.002311, allocations: 205.8 kB / 23.73 MB, free: 4.379 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.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 0.001801/0.001801, allocations: 51.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2693, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004023/0.2734, allocations: 2.397 MB / 434 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2748, allocations: 0.6699 MB / 434.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.2749, allocations: 8 kB / 434.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.2751, allocations: 35.66 kB / 434.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.2752, allocations: 71.33 kB / 434.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.2756, allocations: 103.8 kB / 434.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.2759, allocations: 270.8 kB / 435.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.2761, allocations: 67.83 kB / 435.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.2763, allocations: 115.5 kB / 435.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.2765, allocations: 127.5 kB / 435.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.2766, allocations: 24 kB / 435.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.2767, allocations: 39.98 kB / 435.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.2767, allocations: 43.84 kB / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2768, allocations: 103.5 kB / 435.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.2772, allocations: 290.5 kB / 435.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2772, allocations: 7.938 kB / 435.9 MB, free: 2.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2772, allocations: 0 / 435.9 MB, free: 2.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.2772, allocations: 4 kB / 435.9 MB, free: 2.355 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.000847/0.2781, allocations: 473.5 kB / 436.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2781, allocations: 8.031 kB / 436.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.2783, allocations: 40.73 kB / 436.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.2787, allocations: 194.1 kB / 436.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.2787, allocations: 12.81 kB / 436.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.2787, allocations: 24.38 kB / 436.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.2791, allocations: 243 kB / 436.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.2792, allocations: 3.953 kB / 436.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.2792, allocations: 8 kB / 436.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.2792, allocations: 8 kB / 436.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.2795, allocations: 153.6 kB / 437.1 MB, free: 1.141 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.001289/0.2808, allocations: 0.629 MB / 437.7 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.2811, allocations: 138.6 kB / 437.8 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.2813, allocations: 88.75 kB / 437.9 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.2814, allocations: 0 / 437.9 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.2814, allocations: 42.5 kB / 438 MB, free: 184 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.654e-06/0.2814, allocations: 0 / 438 MB, free: 184 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001252/0.2826, allocations: 341 kB / 438.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.2827, allocations: 51.41 kB / 438.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.2829, allocations: 175.3 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.2829, allocations: 33.7 kB / 438.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.283, allocations: 144.4 kB / 438.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.283, allocations: 67.42 kB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.2831, allocations: 37.7 kB / 438.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2833, allocations: 322.8 kB / 439.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.2834, allocations: 63.91 kB / 439.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.2835, allocations: 69.69 kB / 439.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.2838, allocations: 128.2 kB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2838, allocations: 0 / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000429/0.2842, allocations: 214.3 kB / 439.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2842, allocations: 7.938 kB / 439.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2842, allocations: 4 kB / 439.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.2855, allocations: 216.6 kB / 439.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.2857, allocations: 35.92 kB / 439.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005731/0.2863, allocations: 0.6109 MB / 440.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.2864, allocations: 15.92 kB / 440.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2864, allocations: 8 kB / 440.5 MB, free: 13.57 MB / 350.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.0001472/0.2866, allocations: 139 kB / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.2866, allocations: 19.84 kB / 440.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/0.2871, allocations: 222.9 kB / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2871, allocations: 0 / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2871, allocations: 0 / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2871, allocations: 7.984 kB / 440.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009064/0.288, allocations: 0.5034 MB / 441.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.288, allocations: 0 / 441.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.2882, allocations: 27.92 kB / 441.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/0.2892, allocations: 200.7 kB / 441.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.2892, allocations: 7.938 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005181/0.2897, allocations: 0.6225 MB / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2897, allocations: 0 / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008485/0.2906, allocations: 424.9 kB / 442.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.2906, allocations: 19.86 kB / 442.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.2907, allocations: 11.94 kB / 442.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.2908, allocations: 8 kB / 442.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.2908, allocations: 15.91 kB / 442.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.2909, allocations: 4 kB / 442.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.291, allocations: 135.3 kB / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.291, allocations: 0 / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.2913, allocations: 59.84 kB / 442.9 MB, free: 11.06 MB / 350.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.000174/0.2915, allocations: 111.2 kB / 443 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.2919, allocations: 142.6 kB / 443.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2919, allocations: 0 / 443.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.2921, allocations: 88 kB / 443.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.2925, allocations: 31.11 kB / 443.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2935, allocations: 0.56 MB / 443.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.2936, allocations: 130.1 kB / 443.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.89e-05/0.2937, allocations: 17.48 kB / 443.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.2937, allocations: 11.44 kB / 444 MB, free: 9.926 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2937, allocations: 0 / 444 MB, free: 9.926 MB / 350.1 MB Notification: Performance of Templates: time 0.006652/0.3004, allocations: 2.547 MB / 446.5 MB, free: 7.41 MB / 350.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.767467623110861]