Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001615/0.001615, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001753/0.001753, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.405/1.405, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2695, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003961/0.2735, allocations: 2.568 MB / 434.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2748, allocations: 0.7011 MB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.2749, allocations: 4 kB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.275, allocations: 39.64 kB / 435.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.2752, allocations: 63.36 kB / 435.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.2755, allocations: 111.7 kB / 435.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.2758, allocations: 278.8 kB / 435.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.276, allocations: 56.38 kB / 435.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.2762, allocations: 115.6 kB / 436 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.2764, allocations: 119.5 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.2764, allocations: 20 kB / 436.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.2765, allocations: 43.94 kB / 436.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.2766, allocations: 55.81 kB / 436.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.2767, allocations: 119.4 kB / 436.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.2771, allocations: 292.3 kB / 436.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2771, allocations: 0 / 436.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2771, allocations: 7.938 kB / 436.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.2771, allocations: 4 kB / 436.6 MB, free: 2.781 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.000889/0.278, allocations: 0.5338 MB / 437.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.278, allocations: 8.031 kB / 437.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.2782, allocations: 44.73 kB / 437.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.2785, allocations: 244.5 kB / 437.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2785, allocations: 12.81 kB / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.2786, allocations: 20.38 kB / 437.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.279, allocations: 191.6 kB / 437.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.279, allocations: 0 / 437.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.279, allocations: 8 kB / 437.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.279, allocations: 4 kB / 437.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.2793, allocations: 161.6 kB / 437.8 MB, free: 1.477 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.001444/0.2808, allocations: 0.9298 MB / 438.8 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.2811, allocations: 154.5 kB / 438.9 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.2813, allocations: 87.72 kB / 439 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.2813, allocations: 4 kB / 439 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.2814, allocations: 42.5 kB / 439 MB, free: 140 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.2814, allocations: 0 / 439 MB, free: 140 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001304/0.2827, allocations: 419.4 kB / 439.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.2827, allocations: 51.41 kB / 439.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.2829, allocations: 180.3 kB / 439.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.2829, allocations: 33.69 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.283, allocations: 148.3 kB / 439.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.2831, allocations: 59.44 kB / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.2832, allocations: 41.7 kB / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2833, allocations: 330.8 kB / 440.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.2834, allocations: 51.97 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.2836, allocations: 69.69 kB / 440.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.2838, allocations: 132.9 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2838, allocations: 4 kB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004178/0.2842, allocations: 210.3 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2843, allocations: 4 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2843, allocations: 3.938 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.2856, allocations: 228.6 kB / 441 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.2857, allocations: 31.97 kB / 441 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005457/0.2863, allocations: 0.607 MB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.2864, allocations: 15.92 kB / 441.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.2864, allocations: 4 kB / 441.6 MB, free: 13.43 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.0001458/0.2866, allocations: 137.8 kB / 441.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.2866, allocations: 15.91 kB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.2871, allocations: 224.2 kB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.2871, allocations: 4 kB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2871, allocations: 0 / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.2871, allocations: 3.984 kB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009318/0.288, allocations: 0.5935 MB / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.288, allocations: 0 / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.2882, allocations: 39.86 kB / 442.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.2892, allocations: 196.7 kB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.2893, allocations: 4 kB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005192/0.2898, allocations: 0.6226 MB / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2898, allocations: 4.031 kB / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.2906, allocations: 416.3 kB / 443.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.2907, allocations: 104.9 kB / 444 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.2907, allocations: 4 kB / 444 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.2908, allocations: 12 kB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.2909, allocations: 15.92 kB / 444 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.2909, allocations: 11.98 kB / 444 MB, free: 10.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.291, allocations: 129.2 kB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.291, allocations: 4.062 kB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.2913, allocations: 59.83 kB / 444.2 MB, free: 10.71 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.000177/0.2915, allocations: 107.2 kB / 444.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000387/0.2919, allocations: 132 kB / 444.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.2919, allocations: 3.938 kB / 444.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.2921, allocations: 90.98 kB / 444.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.2924, allocations: 27.92 kB / 444.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.2935, allocations: 0.5871 MB / 445.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.2939, allocations: 0.7439 MB / 445.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.2939, allocations: 15.44 kB / 445.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2939, allocations: 0 / 445.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of Templates: time 0.005508/0.2994, allocations: 3.157 MB / 449.1 MB, free: 5.781 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.084196045994759]