Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001355/0.001355, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.001602/0.001602, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 177 MB / 204.1 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 2.047 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.702e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003731/0.003758, allocations: 2.409 MB / 327.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.005123, allocations: 0.6736 MB / 328.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.005251, allocations: 4.219 kB / 328.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.005406, allocations: 38.05 kB / 328.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.005568, allocations: 77.84 kB / 328.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.005933, allocations: 100.7 kB / 328.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.006301, allocations: 297.8 kB / 328.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.006468, allocations: 57.28 kB / 328.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003108/0.006779, allocations: 165.7 kB / 328.8 MB, free: 14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.006958, allocations: 88.81 kB / 328.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.007003, allocations: 21.94 kB / 328.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.007119, allocations: 46.08 kB / 329 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.00718, allocations: 47.39 kB / 329 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.007375, allocations: 89.92 kB / 329.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.007814, allocations: 296.2 kB / 329.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.00782, allocations: 1.516 kB / 329.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.007821, allocations: 0 / 329.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.007831, allocations: 4 kB / 329.4 MB, free: 13.77 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.0008789/0.00871, allocations: 468.2 kB / 329.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.008752, allocations: 13.11 kB / 329.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.008933, allocations: 39.08 kB / 329.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.009316, allocations: 185.5 kB / 330.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.009332, allocations: 13.66 kB / 330.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.009378, allocations: 25.38 kB / 330.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.009805, allocations: 244.4 kB / 330.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.009818, allocations: 192 / 330.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.009846, allocations: 10.28 kB / 330.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.009858, allocations: 9.625 kB / 330.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.01019, allocations: 148.6 kB / 330.5 MB, free: 12.98 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.001365/0.01155, allocations: 0.6364 MB / 331.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.01188, allocations: 140.1 kB / 331.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.0121, allocations: 86.06 kB / 331.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.01212, allocations: 2.094 kB / 331.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.01216, allocations: 45.34 kB / 331.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.01216, allocations: 0 / 331.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001293/0.01345, allocations: 336.1 kB / 331.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.01349, allocations: 54.12 kB / 331.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.0137, allocations: 174.5 kB / 332 MB, free: 11.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.01373, allocations: 30.8 kB / 332 MB, free: 11.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.01384, allocations: 146.6 kB / 332.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.0139, allocations: 63.25 kB / 332.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.01397, allocations: 40.98 kB / 332.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.01412, allocations: 323.3 kB / 332.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.01425, allocations: 54.22 kB / 332.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.01439, allocations: 73.16 kB / 332.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.01465, allocations: 132.7 kB / 332.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01465, allocations: 0.9688 kB / 332.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004281/0.01508, allocations: 215.4 kB / 333.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.0151, allocations: 9.344 kB / 333.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.0151, allocations: 1.094 kB / 333.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.01651, allocations: 218.1 kB / 333.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.01665, allocations: 31.73 kB / 333.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006356/0.01729, allocations: 0.6118 MB / 333.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.01741, allocations: 23.84 kB / 333.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.01743, allocations: 4.375 kB / 333.9 MB, free: 10.38 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.0001504/0.01758, allocations: 136 kB / 334.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.01763, allocations: 17 kB / 334.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/0.01812, allocations: 226.2 kB / 334.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01812, allocations: 2.312 kB / 334.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01813, allocations: 5.062 kB / 334.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.01814, allocations: 3.984 kB / 334.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.01914, allocations: 0.5077 MB / 334.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01914, allocations: 3.938 kB / 334.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.01929, allocations: 26.17 kB / 334.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001121/0.02041, allocations: 197.5 kB / 335.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.02044, allocations: 5.719 kB / 335.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005442/0.02098, allocations: 0.6268 MB / 335.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.02098, allocations: 1.25 kB / 335.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008689/0.02185, allocations: 420 kB / 336.1 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.02188, allocations: 17.36 kB / 336.1 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.02191, allocations: 2.688 kB / 336.1 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.02206, allocations: 12.69 kB / 336.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.02211, allocations: 20 kB / 336.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.02213, allocations: 8.188 kB / 336.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.02225, allocations: 136.6 kB / 336.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02225, allocations: 0 / 336.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.02257, allocations: 63.31 kB / 336.4 MB, free: 8.543 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.0001685/0.02274, allocations: 109.9 kB / 336.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003945/0.02314, allocations: 139.1 kB / 336.6 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02314, allocations: 4.062 kB / 336.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.02333, allocations: 81.92 kB / 336.7 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.02366, allocations: 23.27 kB / 336.7 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.02469, allocations: 492.6 kB / 337.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.02482, allocations: 134.8 kB / 337.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.478e-05/0.02489, allocations: 19.11 kB / 337.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.02493, allocations: 14.09 kB / 337.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.02493, allocations: 1.125 kB / 337.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of Templates: time 0.006459/0.03139, allocations: 2.241 MB / 339.6 MB, free: 6.148 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.424530204385519]