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.0009603/0.0009603, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001498/0.001498, allocations: 159.3 kB / 25.75 MB, free: 8.949 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.8862/0.8862, allocations: 158.6 MB / 187.5 MB, free: 2.953 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 1.864e-06/1.864e-06, allocations: 0 / 251.1 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.648e-05, allocations: 2.312 kB / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002709/0.002735, allocations: 2.167 MB / 253.3 MB, free: 5.629 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006644/0.0034, allocations: 0.5034 MB / 253.8 MB, free: 5.117 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.003485, allocations: 4 kB / 253.8 MB, free: 5.113 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.003595, allocations: 19.8 kB / 253.8 MB, free: 5.094 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.198e-05/0.003667, allocations: 55.5 kB / 253.9 MB, free: 5.039 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.003875, allocations: 35.94 kB / 253.9 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.00404, allocations: 163.1 kB / 254 MB, free: 4.844 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.004198, allocations: 45.58 kB / 254.1 MB, free: 4.797 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.004333, allocations: 87.73 kB / 254.2 MB, free: 4.711 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.503e-05/0.004428, allocations: 47.89 kB / 254.2 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.004452, allocations: 12 kB / 254.2 MB, free: 4.652 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-05/0.004512, allocations: 23.98 kB / 254.3 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.00454, allocations: 31.84 kB / 254.3 MB, free: 4.598 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.004584, allocations: 51.91 kB / 254.3 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.004769, allocations: 111.6 kB / 254.4 MB, free: 4.438 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.004771, allocations: 0 / 254.4 MB, free: 4.438 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004772, allocations: 0 / 254.4 MB, free: 4.438 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.004776, allocations: 0 / 254.4 MB, free: 4.438 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.0004341/0.005211, allocations: 464.2 kB / 254.9 MB, free: 3.949 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.00525, allocations: 15.98 kB / 254.9 MB, free: 3.934 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.005354, allocations: 24.84 kB / 254.9 MB, free: 3.91 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.005532, allocations: 156.3 kB / 255.1 MB, free: 3.73 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.005545, allocations: 16.61 kB / 255.1 MB, free: 3.715 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.005561, allocations: 12.38 kB / 255.1 MB, free: 3.703 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.005723, allocations: 126.5 kB / 255.2 MB, free: 3.566 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.005729, allocations: 192 / 255.2 MB, free: 3.566 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.005742, allocations: 4.359 kB / 255.3 MB, free: 3.562 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.00575, allocations: 7.938 kB / 255.3 MB, free: 3.555 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/0.005821, allocations: 40.62 kB / 255.3 MB, free: 3.516 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.006338, allocations: 482 kB / 255.8 MB, free: 2.996 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.006529, allocations: 79.05 kB / 255.8 MB, free: 2.906 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.006565, allocations: 19.81 kB / 255.9 MB, free: 2.883 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.006579, allocations: 4 kB / 255.9 MB, free: 2.879 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.006602, allocations: 37.33 kB / 255.9 MB, free: 2.832 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.006603, allocations: 0 / 255.9 MB, free: 2.832 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.000367/0.00697, allocations: 149.2 kB / 256.1 MB, free: 2.676 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.006994, allocations: 51.41 kB / 256.1 MB, free: 2.613 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.007094, allocations: 197.9 kB / 256.3 MB, free: 2.402 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.007105, allocations: 25.7 kB / 256.3 MB, free: 2.371 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.007472, allocations: 178.8 kB / 256.5 MB, free: 2.191 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.007485, allocations: 19.8 kB / 256.5 MB, free: 2.172 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.007521, allocations: 31.36 kB / 256.5 MB, free: 2.133 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.007628, allocations: 0.5 MB / 257 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.00765, allocations: 11.98 kB / 257.1 MB, free: 1.609 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.00769, allocations: 47.23 kB / 257.1 MB, free: 1.551 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.669e-05/0.007746, allocations: 47.06 kB / 257.1 MB, free: 1.492 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.007749, allocations: 4 kB / 257.2 MB, free: 1.488 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001377/0.007887, allocations: 113.2 kB / 257.3 MB, free: 1.367 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.0079, allocations: 7.938 kB / 257.3 MB, free: 1.359 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.007904, allocations: 0 / 257.3 MB, free: 1.359 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001433/0.008047, allocations: 39.73 kB / 257.3 MB, free: 1.316 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-05/0.008079, allocations: 7.984 kB / 257.3 MB, free: 1.309 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.009147, allocations: 2.09 MB / 259.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.009185, allocations: 11.94 kB / 259.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.009192, allocations: 4.125 kB / 259.4 MB, free: 15.09 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.072e-05/0.009263, allocations: 160.5 kB / 259.6 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.009283, allocations: 11.95 kB / 259.6 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.566e-05/0.009299, allocations: 20.77 kB / 259.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.009301, allocations: 0 / 259.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.009302, allocations: 0 / 259.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.009305, allocations: 3.938 kB / 259.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.009424, allocations: 144.6 kB / 259.8 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.009425, allocations: 4 kB / 259.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.7e-05/0.009442, allocations: 7.984 kB / 259.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.48e-05/0.009527, allocations: 35.67 kB / 259.8 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.009532, allocations: 0 / 259.8 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008772/0.01041, allocations: 2.083 MB / 261.9 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.01041, allocations: 4 kB / 261.9 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.01057, allocations: 247.4 kB / 262.1 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-06/0.01058, allocations: 7.953 kB / 262.1 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.01058, allocations: 4 kB / 262.1 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.741e-05/0.01063, allocations: 4 kB / 262.1 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.01066, allocations: 11.92 kB / 262.2 MB, free: 12.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.01067, allocations: 0 / 262.2 MB, free: 12.16 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.675e-05/0.01072, allocations: 155.1 kB / 262.3 MB, free: 12 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01072, allocations: 7.969 kB / 262.3 MB, free: 12 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.01095, allocations: 35.94 kB / 262.4 MB, free: 11.96 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 8.02e-05/0.01103, allocations: 99.25 kB / 262.4 MB, free: 11.85 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.01127, allocations: 228.2 kB / 262.7 MB, free: 11.61 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01127, allocations: 4 kB / 262.7 MB, free: 11.61 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.01138, allocations: 209.4 kB / 262.9 MB, free: 11.38 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.01157, allocations: 24.73 kB / 262.9 MB, free: 11.36 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.01215, allocations: 274.3 kB / 263.2 MB, free: 11.06 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.01219, allocations: 75.33 kB / 263.2 MB, free: 10.97 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.148e-05/0.01222, allocations: 4.5 kB / 263.3 MB, free: 10.96 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.01224, allocations: 12.5 kB / 263.3 MB, free: 10.95 MB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01224, allocations: 3.938 kB / 263.3 MB, free: 10.95 MB / 250.7 MB Notification: Performance of Templates: time 0.003407/0.01565, allocations: 1.493 MB / 264.8 MB, free: 9.457 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.7323895858135074]