Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001714/0.001714, allocations: 79.22 kB / 21.43 MB, free: 296 kB / 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.002235/0.002235, allocations: 164.2 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.772e-05, allocations: 2.281 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003787/0.003815, allocations: 2.337 MB / 301.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.005067, allocations: 0.6438 MB / 301.9 MB, free: 5.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.005188, allocations: 8 kB / 301.9 MB, free: 5.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.005378, allocations: 39.58 kB / 302 MB, free: 5.676 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.005518, allocations: 75.28 kB / 302 MB, free: 5.602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.00585, allocations: 75.83 kB / 302.1 MB, free: 5.527 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.006176, allocations: 282.6 kB / 302.4 MB, free: 5.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.006346, allocations: 56.56 kB / 302.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.006593, allocations: 179.5 kB / 302.6 MB, free: 5.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.006746, allocations: 75.78 kB / 302.7 MB, free: 4.949 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.006788, allocations: 24 kB / 302.7 MB, free: 4.926 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.662e-05/0.006885, allocations: 35.98 kB / 302.8 MB, free: 4.891 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.006938, allocations: 47.83 kB / 302.8 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.007055, allocations: 91.75 kB / 302.9 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.007438, allocations: 279.1 kB / 303.2 MB, free: 4.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.007442, allocations: 0 / 303.2 MB, free: 4.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.007445, allocations: 3.984 kB / 303.2 MB, free: 4.477 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.007452, allocations: 3.938 kB / 303.2 MB, free: 4.473 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.000865/0.008316, allocations: 477.5 kB / 303.6 MB, free: 3.977 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.008359, allocations: 11.98 kB / 303.7 MB, free: 3.965 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.008432, allocations: 24.8 kB / 303.7 MB, free: 3.941 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.008777, allocations: 178.1 kB / 303.9 MB, free: 3.742 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.008799, allocations: 12.88 kB / 303.9 MB, free: 3.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.008845, allocations: 24.33 kB / 303.9 MB, free: 3.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.009296, allocations: 248 kB / 304.1 MB, free: 3.445 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.009312, allocations: 192 / 304.1 MB, free: 3.445 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.009343, allocations: 15.94 kB / 304.1 MB, free: 3.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.009351, allocations: 4 kB / 304.2 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.009685, allocations: 153.9 kB / 304.3 MB, free: 3.277 MB / 286.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.001277/0.01096, allocations: 0.6335 MB / 304.9 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.01131, allocations: 138.6 kB / 305.1 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.01152, allocations: 84.81 kB / 305.2 MB, free: 2.367 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.01155, allocations: 4 kB / 305.2 MB, free: 2.363 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.01158, allocations: 34.56 kB / 305.2 MB, free: 2.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.01158, allocations: 0 / 305.2 MB, free: 2.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001276/0.01286, allocations: 345 kB / 305.5 MB, free: 1.977 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.0129, allocations: 55.41 kB / 305.6 MB, free: 1.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.0131, allocations: 166.3 kB / 305.7 MB, free: 1.738 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.01313, allocations: 25.7 kB / 305.8 MB, free: 1.707 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.01325, allocations: 152.4 kB / 305.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.0133, allocations: 59.44 kB / 306 MB, free: 1.496 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.01337, allocations: 37.7 kB / 306 MB, free: 1.453 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.01353, allocations: 322.8 kB / 306.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.01366, allocations: 55.98 kB / 306.4 MB, free: 1.074 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.0138, allocations: 81.55 kB / 306.5 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.01405, allocations: 117.7 kB / 306.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.01405, allocations: 4 kB / 306.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004164/0.01447, allocations: 214.3 kB / 306.8 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.01448, allocations: 8 kB / 306.8 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.01449, allocations: 0 / 306.8 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.01583, allocations: 216.6 kB / 307 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.01597, allocations: 31.92 kB / 307 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005958/0.01656, allocations: 0.6148 MB / 307.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.01668, allocations: 23.84 kB / 307.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.0167, allocations: 4 kB / 307.7 MB, free: 15.72 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.000174/0.01687, allocations: 137.8 kB / 307.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.01693, allocations: 23.84 kB / 307.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004755/0.0174, allocations: 220.2 kB / 308.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.01741, allocations: 0 / 308.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01741, allocations: 0 / 308.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.01742, allocations: 7.984 kB / 308.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008351/0.01825, allocations: 0.5071 MB / 308.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01825, allocations: 0 / 308.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.01841, allocations: 31.98 kB / 308.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.01947, allocations: 196.7 kB / 308.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.01949, allocations: 4 kB / 308.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005039/0.02, allocations: 0.6265 MB / 309.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.02, allocations: 3.938 kB / 309.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008483/0.02084, allocations: 428.2 kB / 309.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.02087, allocations: 11.94 kB / 309.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.0209, allocations: 4 kB / 309.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.02105, allocations: 15.94 kB / 309.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.0211, allocations: 11.97 kB / 309.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.02111, allocations: 4 kB / 309.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.02122, allocations: 132.3 kB / 310 MB, free: 13.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02122, allocations: 0 / 310 MB, free: 13.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000305/0.02153, allocations: 59.83 kB / 310.1 MB, free: 13.21 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.0001838/0.02171, allocations: 107.2 kB / 310.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003978/0.02211, allocations: 143.7 kB / 310.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.02211, allocations: 4 kB / 310.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.02231, allocations: 79.95 kB / 310.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.02263, allocations: 32.02 kB / 310.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009228/0.02356, allocations: 479.2 kB / 310.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.02368, allocations: 125.5 kB / 311 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.285e-05/0.02374, allocations: 17.48 kB / 311 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.02377, allocations: 16.44 kB / 311.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.02377, allocations: 3.938 kB / 311.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of Templates: time 0.005964/0.02973, allocations: 2.228 MB / 313.3 MB, free: 9.949 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.171345576643944]