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.001165/0.001165, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.001387/0.001387, allocations: 173.6 kB / 25.33 MB, free: 9.441 MB / 18.57 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 0.9547/0.9547, allocations: 158.6 MB / 187.2 MB, free: 2.527 MB / 170.7 MB " [Timeout remaining time 179] 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 2.204e-06/2.204e-06, allocations: 0 / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.354e-05, allocations: 6.25 kB / 251 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003468/0.003501, allocations: 2.488 MB / 253.5 MB, free: 1.078 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.004738, allocations: 0.6632 MB / 254.2 MB, free: 420 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.004885, allocations: 4 kB / 254.2 MB, free: 416 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.005073, allocations: 39.64 kB / 254.2 MB, free: 376 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.005207, allocations: 75.28 kB / 254.3 MB, free: 300 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.005567, allocations: 79.77 kB / 254.4 MB, free: 220 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.005879, allocations: 290.4 kB / 254.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.006038, allocations: 56.55 kB / 254.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.006268, allocations: 163.6 kB / 254.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.006406, allocations: 91.7 kB / 255 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.006439, allocations: 24 kB / 255 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.341e-05/0.006523, allocations: 35.92 kB / 255 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.006563, allocations: 59.77 kB / 255.1 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.006634, allocations: 83.83 kB / 255.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.006917, allocations: 187.4 kB / 255.4 MB, free: 15.24 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.006921, allocations: 0 / 255.4 MB, free: 15.24 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006923, allocations: 0 / 255.4 MB, free: 15.24 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.006929, allocations: 0 / 255.4 MB, free: 15.24 MB / 250.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.0006982/0.007627, allocations: 0.5624 MB / 255.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.00767, allocations: 11.98 kB / 255.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.701e-05/0.007757, allocations: 40.8 kB / 256 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.007988, allocations: 184.9 kB / 256.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.008006, allocations: 16.88 kB / 256.2 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.008043, allocations: 20.38 kB / 256.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.008321, allocations: 212.7 kB / 256.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.008333, allocations: 192 / 256.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.008352, allocations: 11.94 kB / 256.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.008361, allocations: 4 kB / 256.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.008507, allocations: 86.94 kB / 256.5 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/0.009401, allocations: 0.664 MB / 257.2 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.009623, allocations: 123 kB / 257.3 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.009756, allocations: 71.97 kB / 257.4 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.009777, allocations: 3.906 kB / 257.4 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.009804, allocations: 37.39 kB / 257.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.009806, allocations: 0 / 257.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007138/0.01052, allocations: 279.6 kB / 257.7 MB, free: 12.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.01055, allocations: 55.41 kB / 257.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.0107, allocations: 221.8 kB / 257.9 MB, free: 12.47 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.01072, allocations: 25.7 kB / 258 MB, free: 12.44 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/0.01081, allocations: 195.1 kB / 258.2 MB, free: 12.24 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.01085, allocations: 67.42 kB / 258.2 MB, free: 12.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.0109, allocations: 43.36 kB / 258.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.01103, allocations: 0.4923 MB / 258.8 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.255e-05/0.01108, allocations: 27.98 kB / 258.8 MB, free: 11.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.01116, allocations: 55.28 kB / 258.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.01128, allocations: 87.27 kB / 258.9 MB, free: 11.44 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01128, allocations: 0 / 258.9 MB, free: 11.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002558/0.01154, allocations: 173.1 kB / 259.1 MB, free: 11.26 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.01155, allocations: 12.03 kB / 259.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01156, allocations: 4 kB / 259.1 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006778/0.01224, allocations: 171.4 kB / 259.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.01232, allocations: 27.98 kB / 259.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004516/0.01278, allocations: 0.8584 MB / 260.2 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.01286, allocations: 19.83 kB / 260.2 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.01287, allocations: 4 kB / 260.2 MB, free: 10.13 MB / 250.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.0001107/0.01298, allocations: 164.6 kB / 260.3 MB, free: 9.957 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.01301, allocations: 27.84 kB / 260.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.0133, allocations: 179.2 kB / 260.5 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.0133, allocations: 0 / 260.5 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.0133, allocations: 0 / 260.5 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.01331, allocations: 4 kB / 260.5 MB, free: 9.738 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.01387, allocations: 0.4966 MB / 261 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.01387, allocations: 0 / 261 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.617e-05/0.01397, allocations: 32.02 kB / 261.1 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/0.01443, allocations: 159.4 kB / 261.2 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.01445, allocations: 11.98 kB / 261.2 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004032/0.01485, allocations: 0.8662 MB / 262.1 MB, free: 8.09 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01485, allocations: 0 / 262.1 MB, free: 8.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.0153, allocations: 401.8 kB / 262.5 MB, free: 7.672 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.01532, allocations: 11.91 kB / 262.5 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.01535, allocations: 12.06 kB / 262.5 MB, free: 7.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.565e-05/0.01541, allocations: 15.92 kB / 262.5 MB, free: 7.633 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.01546, allocations: 11.92 kB / 262.6 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.01546, allocations: 4 kB / 262.6 MB, free: 7.617 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.489e-05/0.01555, allocations: 172.1 kB / 262.7 MB, free: 7.449 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01555, allocations: 0 / 262.7 MB, free: 7.449 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.01577, allocations: 63.83 kB / 262.8 MB, free: 7.387 MB / 250.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.0001595/0.01593, allocations: 107.2 kB / 262.9 MB, free: 7.273 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002796/0.01621, allocations: 113 kB / 263 MB, free: 7.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.01621, allocations: 0 / 263 MB, free: 7.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.385e-05/0.0163, allocations: 72.7 kB / 263.1 MB, free: 7.086 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.01657, allocations: 27.98 kB / 263.1 MB, free: 7.059 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.01772, allocations: 0.4912 MB / 263.6 MB, free: 6.531 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.703e-05/0.01778, allocations: 80.22 kB / 263.7 MB, free: 6.434 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.514e-05/0.01784, allocations: 13.48 kB / 263.7 MB, free: 6.422 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.01787, allocations: 12.5 kB / 263.7 MB, free: 6.41 MB / 250.7 MB Notification: Performance of SimCode: time 2.385e-06/0.01788, allocations: 0 / 263.7 MB, free: 6.41 MB / 250.7 MB Notification: Performance of Templates: time 0.005273/0.02315, allocations: 2.349 MB / 266 MB, free: 4.078 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] 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","",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.771392592228949]