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.001357/0.001357, allocations: 82.36 kB / 20.68 MB, free: 1.023 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.001374/0.001374, allocations: 146.7 kB / 23.94 MB, free: 4.16 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.491/1.491, allocations: 173.3 MB / 200.4 MB, free: 12.84 MB / 190.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 1.242e-06/1.242e-06, allocations: 0 / 318.9 MB, free: 3.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.39e-05, allocations: 5.094 kB / 318.9 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003434/0.003457, allocations: 2.367 MB / 321.3 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.004626, allocations: 0.6245 MB / 321.9 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.00476, allocations: 6.719 kB / 321.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.004947, allocations: 37.92 kB / 322 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.005088, allocations: 78.44 kB / 322 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.005445, allocations: 89.92 kB / 322.1 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.005795, allocations: 287 kB / 322.4 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.00599, allocations: 57.06 kB / 322.5 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.006261, allocations: 162.2 kB / 322.6 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.006448, allocations: 85.11 kB / 322.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.006499, allocations: 22.34 kB / 322.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.006608, allocations: 39.22 kB / 322.8 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.006661, allocations: 52.16 kB / 322.8 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.006774, allocations: 85.17 kB / 322.9 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.007191, allocations: 292.8 kB / 323.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.007196, allocations: 4.641 kB / 323.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007197, allocations: 0 / 323.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.00721, allocations: 1.375 kB / 323.2 MB, free: 0.7383 MB / 286.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.0008278/0.008038, allocations: 473.5 kB / 323.7 MB, free: 368 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.008081, allocations: 9.891 kB / 323.7 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.008147, allocations: 27.27 kB / 323.7 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.008435, allocations: 191.1 kB / 323.9 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.008457, allocations: 17.78 kB / 323.9 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.008508, allocations: 16.75 kB / 323.9 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004395/0.008947, allocations: 247.7 kB / 324.2 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.008964, allocations: 1.25 kB / 324.2 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.008989, allocations: 6.969 kB / 324.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.008998, allocations: 8.984 kB / 324.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.009345, allocations: 149.8 kB / 324.3 MB, free: 15.94 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.001316/0.01066, allocations: 0.6268 MB / 324.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.01101, allocations: 140.1 kB / 325.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.01123, allocations: 88.45 kB / 325.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.01126, allocations: 1.375 kB / 325.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.0113, allocations: 37.83 kB / 325.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.0113, allocations: 0 / 325.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001337/0.01264, allocations: 348.6 kB / 325.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.01269, allocations: 55.25 kB / 325.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.01289, allocations: 177.7 kB / 325.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.01292, allocations: 30.86 kB / 325.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.01305, allocations: 149 kB / 326 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.01311, allocations: 62.25 kB / 326 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.01318, allocations: 36.91 kB / 326.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.01335, allocations: 329.4 kB / 326.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.01347, allocations: 48.23 kB / 326.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.01361, allocations: 77.2 kB / 326.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.01387, allocations: 126.7 kB / 326.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01387, allocations: 1.188 kB / 326.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004401/0.01431, allocations: 212.9 kB / 326.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.01432, allocations: 5.531 kB / 326.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01433, allocations: 0 / 326.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.01575, allocations: 224.9 kB / 327.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.0159, allocations: 29.8 kB / 327.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006099/0.01651, allocations: 0.619 MB / 327.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.01664, allocations: 13.02 kB / 327.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.01666, allocations: 8.953 kB / 327.7 MB, free: 13.61 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.0001607/0.01682, allocations: 137.1 kB / 327.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.01687, allocations: 15.78 kB / 327.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005316/0.0174, allocations: 230.9 kB / 328.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.0174, allocations: 1.219 kB / 328.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.01741, allocations: 1.062 kB / 328.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.01741, allocations: 1.359 kB / 328.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009807/0.0184, allocations: 0.5029 MB / 328.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.0184, allocations: 4.031 kB / 328.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.01855, allocations: 26.48 kB / 328.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.01971, allocations: 205.2 kB / 328.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.01973, allocations: 3.453 kB / 328.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000607/0.02034, allocations: 0.6229 MB / 329.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/0.02035, allocations: 1.062 kB / 329.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000949/0.0213, allocations: 421.3 kB / 329.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.02135, allocations: 18.97 kB / 329.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.02138, allocations: 5.891 kB / 329.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.02153, allocations: 10.78 kB / 329.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.0216, allocations: 22.16 kB / 329.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.02161, allocations: 5.578 kB / 329.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.02175, allocations: 136.7 kB / 330.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.02175, allocations: 5.281 kB / 330.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000342/0.02209, allocations: 59.55 kB / 330.1 MB, free: 12 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.0002298/0.02232, allocations: 108 kB / 330.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004503/0.02277, allocations: 135.1 kB / 330.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.02277, allocations: 0 / 330.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.02298, allocations: 81.45 kB / 330.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.02333, allocations: 33.45 kB / 330.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.02446, allocations: 494.1 kB / 331 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.02466, allocations: 129.5 kB / 331.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.015e-05/0.02473, allocations: 14.92 kB / 331.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.02478, allocations: 15.05 kB / 331.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.02478, allocations: 0 / 331.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Templates: time 0.008376/0.03315, allocations: 2.221 MB / 333.3 MB, free: 10.69 MB / 302.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.324215821921825]