Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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.001069/0.001069, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001176/0.001176, allocations: 171.6 kB / 25.33 MB, free: 8.598 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.9866/0.9866, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.103e-06/2.103e-06, allocations: 0 / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.216e-05/3.426e-05, allocations: 2.312 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.004306/0.00434, allocations: 2.179 MB / 253.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008547/0.005195, allocations: 0.4956 MB / 253.7 MB, free: 4.816 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.005313, allocations: 7.938 kB / 253.7 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.005434, allocations: 15.8 kB / 253.7 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.853e-05/0.005522, allocations: 51.56 kB / 253.8 MB, free: 4.742 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.005811, allocations: 39.88 kB / 253.8 MB, free: 4.703 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.006004, allocations: 167.1 kB / 254 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.00615, allocations: 37.59 kB / 254 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.006305, allocations: 99.78 kB / 254.1 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.969e-05/0.006405, allocations: 51.88 kB / 254.2 MB, free: 4.352 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.00643, allocations: 12 kB / 254.2 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.659e-05/0.006496, allocations: 19.94 kB / 254.2 MB, free: 4.32 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.00653, allocations: 23.86 kB / 254.2 MB, free: 4.297 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.006583, allocations: 47.91 kB / 254.3 MB, free: 4.25 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.006786, allocations: 115.6 kB / 254.4 MB, free: 4.137 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.006789, allocations: 0 / 254.4 MB, free: 4.137 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.006791, allocations: 0 / 254.4 MB, free: 4.137 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006795, allocations: 0 / 254.4 MB, free: 4.137 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005468/0.007342, allocations: 468.2 kB / 254.8 MB, free: 3.645 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.007391, allocations: 11.98 kB / 254.9 MB, free: 3.633 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.007547, allocations: 28.84 kB / 254.9 MB, free: 3.605 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.00776, allocations: 160.3 kB / 255 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.007775, allocations: 8.609 kB / 255.1 MB, free: 3.414 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.007796, allocations: 8.375 kB / 255.1 MB, free: 3.406 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.008, allocations: 134.5 kB / 255.2 MB, free: 3.262 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.00801, allocations: 192 / 255.2 MB, free: 3.262 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.008026, allocations: 4.375 kB / 255.2 MB, free: 3.258 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.008035, allocations: 7.938 kB / 255.2 MB, free: 3.25 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/0.008109, allocations: 40.67 kB / 255.2 MB, free: 3.211 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006342/0.008743, allocations: 485.9 kB / 255.7 MB, free: 2.688 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.008942, allocations: 67.11 kB / 255.8 MB, free: 2.609 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.00898, allocations: 23.8 kB / 255.8 MB, free: 2.582 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.008998, allocations: 0 / 255.8 MB, free: 2.582 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.009029, allocations: 41.33 kB / 255.8 MB, free: 2.531 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.00903, allocations: 0 / 255.8 MB, free: 2.531 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004056/0.009436, allocations: 141.2 kB / 256 MB, free: 2.383 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.009465, allocations: 59.34 kB / 256 MB, free: 2.312 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.009593, allocations: 197.9 kB / 256.2 MB, free: 2.102 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.009611, allocations: 29.7 kB / 256.3 MB, free: 2.066 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.009705, allocations: 178.8 kB / 256.4 MB, free: 1.887 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.009721, allocations: 23.8 kB / 256.5 MB, free: 1.863 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.009763, allocations: 27.36 kB / 256.5 MB, free: 1.828 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.009896, allocations: 0.5 MB / 257 MB, free: 1.316 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.009923, allocations: 8 kB / 257 MB, free: 1.309 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.344e-05/0.009967, allocations: 39.3 kB / 257 MB, free: 1.258 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.01034, allocations: 55 kB / 257.1 MB, free: 1.191 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.01035, allocations: 4 kB / 257.1 MB, free: 1.188 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001839/0.01053, allocations: 117.2 kB / 257.2 MB, free: 1.062 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01055, allocations: 7.938 kB / 257.2 MB, free: 1.055 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01055, allocations: 0 / 257.2 MB, free: 1.055 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/0.01072, allocations: 39.59 kB / 257.3 MB, free: 1.012 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.722e-05/0.01075, allocations: 8 kB / 257.3 MB, free: 1.004 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.01196, allocations: 2.087 MB / 259.3 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.012, allocations: 7.938 kB / 259.4 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.01201, allocations: 4.125 kB / 259.4 MB, free: 14.79 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 7.867e-05/0.01209, allocations: 156.6 kB / 259.5 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.01211, allocations: 11.95 kB / 259.5 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.01213, allocations: 20.8 kB / 259.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01213, allocations: 4 kB / 259.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.01214, allocations: 0 / 259.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01214, allocations: 3.938 kB / 259.6 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.01227, allocations: 148.6 kB / 259.7 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01227, allocations: 3.984 kB / 259.7 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.756e-05/0.01229, allocations: 0 / 259.7 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.0124, allocations: 35.61 kB / 259.7 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01241, allocations: 11.98 kB / 259.7 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.01345, allocations: 2.079 MB / 261.8 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.01345, allocations: 4 kB / 261.8 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.01366, allocations: 247.4 kB / 262.1 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.01367, allocations: 7.953 kB / 262.1 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.01368, allocations: 0 / 262.1 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.268e-05/0.01373, allocations: 8.031 kB / 262.1 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.01378, allocations: 15.92 kB / 262.1 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.01378, allocations: 0 / 262.1 MB, free: 11.85 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.467e-05/0.01386, allocations: 151.1 kB / 262.3 MB, free: 11.7 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01386, allocations: 0 / 262.3 MB, free: 11.7 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00026/0.01412, allocations: 39.94 kB / 262.3 MB, free: 11.66 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001196/0.01424, allocations: 94.88 kB / 262.4 MB, free: 11.56 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.01457, allocations: 240.3 kB / 262.6 MB, free: 11.3 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01457, allocations: 0 / 262.6 MB, free: 11.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.01468, allocations: 209.5 kB / 262.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.01488, allocations: 20.7 kB / 262.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006702/0.01555, allocations: 286.3 kB / 263.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.005e-05/0.0156, allocations: 71.33 kB / 263.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.286e-05/0.01563, allocations: 0.5 kB / 263.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.01566, allocations: 12.5 kB / 263.2 MB, free: 10.65 MB / 250.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01566, allocations: 0 / 263.2 MB, free: 10.65 MB / 250.7 MB Notification: Performance of Templates: time 0.004138/0.0198, allocations: 1.505 MB / 264.7 MB, free: 9.152 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.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.9288507271558046]