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.001296/0.001296, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.00153/0.00153, allocations: 167.5 kB / 24.99 MB, free: 8.367 MB / 18.57 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 0.9786/0.9786, allocations: 177.1 MB / 205.3 MB, free: 5.238 MB / 186.7 MB " [Timeout remaining time 179] 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 1.412e-06/1.412e-06, allocations: 0 / 273.1 MB, free: 1.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.15e-05, allocations: 2.312 kB / 273.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.008175/0.008197, allocations: 2.567 MB / 275.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.009212, allocations: 0.6854 MB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003125/0.01234, allocations: 4 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.01248, allocations: 31.64 kB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.0126, allocations: 87.22 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.01291, allocations: 91.75 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.01319, allocations: 294.5 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.01335, allocations: 60.55 kB / 276.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.01358, allocations: 167.6 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.01372, allocations: 83.77 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.01375, allocations: 20 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.415e-05/0.01383, allocations: 39.94 kB / 277.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.01388, allocations: 59.75 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.3e-05/0.01396, allocations: 91.81 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.01423, allocations: 199.3 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.01423, allocations: 4 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01423, allocations: 3.938 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.01423, allocations: 0 / 277.5 MB, free: 13.18 MB / 266.7 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.000653/0.01489, allocations: 0.5584 MB / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.01492, allocations: 12.03 kB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.01507, allocations: 52.75 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/0.01831, allocations: 188.2 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.01833, allocations: 16.88 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.01837, allocations: 24.33 kB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.01866, allocations: 212.8 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.01867, allocations: 192 / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.01882, allocations: 4.375 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.01883, allocations: 7.938 kB / 278.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.01901, allocations: 94.86 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009452/0.01996, allocations: 0.6563 MB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.0202, allocations: 115.1 kB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.02034, allocations: 75.59 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.02036, allocations: 8 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.02038, allocations: 33.39 kB / 279.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.02039, allocations: 0 / 279.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.003818/0.0242, allocations: 281.2 kB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.02423, allocations: 51.41 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.02438, allocations: 233.8 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.0244, allocations: 25.7 kB / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.02449, allocations: 199.1 kB / 280.3 MB, free: 10.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.02453, allocations: 75.42 kB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.02459, allocations: 39.36 kB / 280.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.02472, allocations: 0.4962 MB / 281 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.02477, allocations: 23.98 kB / 281 MB, free: 9.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.02485, allocations: 55.28 kB / 281 MB, free: 9.434 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.02498, allocations: 87.3 kB / 281.1 MB, free: 9.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.02499, allocations: 0 / 281.1 MB, free: 9.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002707/0.02526, allocations: 175.9 kB / 281.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.02527, allocations: 4.031 kB / 281.3 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.02527, allocations: 4 kB / 281.3 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007419/0.02602, allocations: 183.5 kB / 281.5 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.02612, allocations: 31.92 kB / 281.5 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004274/0.02655, allocations: 0.8468 MB / 282.3 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.02661, allocations: 15.88 kB / 282.4 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.02663, allocations: 8 kB / 282.4 MB, free: 8.035 MB / 266.7 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.0001023/0.02673, allocations: 168.5 kB / 282.5 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.02677, allocations: 23.91 kB / 282.6 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.02866, allocations: 175 kB / 282.7 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.02866, allocations: 4 kB / 282.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.02866, allocations: 0 / 282.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.02867, allocations: 0 / 282.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006105/0.02928, allocations: 0.5187 MB / 283.3 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.02928, allocations: 0 / 283.3 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.02939, allocations: 36 kB / 283.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000562/0.02995, allocations: 155.5 kB / 283.4 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.02997, allocations: 7.984 kB / 283.4 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004076/0.03037, allocations: 0.8663 MB / 284.3 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.03037, allocations: 0 / 284.3 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.03088, allocations: 390.9 kB / 284.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.0309, allocations: 23.8 kB / 284.7 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.03093, allocations: 8.062 kB / 284.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.03103, allocations: 15.98 kB / 284.7 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.03107, allocations: 15.86 kB / 284.8 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.03108, allocations: 8 kB / 284.8 MB, free: 5.508 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.03117, allocations: 168.2 kB / 284.9 MB, free: 5.344 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03117, allocations: 0 / 284.9 MB, free: 5.344 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002782/0.03145, allocations: 55.89 kB / 285 MB, free: 5.289 MB / 266.7 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.0001371/0.03159, allocations: 103.2 kB / 285.1 MB, free: 5.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.03182, allocations: 119.4 kB / 285.2 MB, free: 5.062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.03182, allocations: 0 / 285.2 MB, free: 5.062 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.03191, allocations: 68.7 kB / 285.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.03213, allocations: 24 kB / 285.3 MB, free: 4.969 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009117/0.03304, allocations: 0.5028 MB / 285.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.453e-05/0.03308, allocations: 76.22 kB / 285.9 MB, free: 4.332 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.981e-05/0.03312, allocations: 17.47 kB / 285.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.03315, allocations: 16.5 kB / 285.9 MB, free: 4.297 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.03315, allocations: 0 / 285.9 MB, free: 4.297 MB / 266.7 MB Notification: Performance of Templates: time 0.004036/0.03719, allocations: 2.266 MB / 288.2 MB, free: 2.07 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8517319599632174]