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.002344/0.002344, allocations: 85.39 kB / 21.44 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.002398/0.002398, allocations: 163.9 kB / 24.7 MB, free: 3.551 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.362/1.362, allocations: 158.6 MB / 186.5 MB, free: 6.406 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.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.914e-06/1.914e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.062e-05, allocations: 2.281 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003538/0.003569, allocations: 2.057 MB / 301 MB, free: 6.648 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000966/0.004535, allocations: 491.5 kB / 301.5 MB, free: 6.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.004621, allocations: 0 / 301.5 MB, free: 6.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.004748, allocations: 19.8 kB / 301.5 MB, free: 6.141 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.004854, allocations: 51.5 kB / 301.6 MB, free: 6.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.005112, allocations: 39.94 kB / 301.6 MB, free: 6.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.00534, allocations: 167.1 kB / 301.8 MB, free: 5.887 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.0055, allocations: 41.56 kB / 301.8 MB, free: 5.844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.005674, allocations: 95.72 kB / 301.9 MB, free: 5.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.005785, allocations: 47.88 kB / 301.9 MB, free: 5.703 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.005816, allocations: 12 kB / 301.9 MB, free: 5.691 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.094e-05/0.005887, allocations: 16 kB / 302 MB, free: 5.676 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.005929, allocations: 35.86 kB / 302 MB, free: 5.641 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.006, allocations: 47.91 kB / 302 MB, free: 5.594 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.006261, allocations: 163.4 kB / 302.2 MB, free: 5.434 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.006264, allocations: 4 kB / 302.2 MB, free: 5.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006265, allocations: 0 / 302.2 MB, free: 5.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.006271, allocations: 0 / 302.2 MB, free: 5.43 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006716/0.006942, allocations: 369.8 kB / 302.6 MB, free: 5.039 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.006985, allocations: 15.97 kB / 302.6 MB, free: 5.023 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.007096, allocations: 20.84 kB / 302.6 MB, free: 5.004 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.00738, allocations: 145.6 kB / 302.7 MB, free: 4.836 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.007398, allocations: 8.609 kB / 302.8 MB, free: 4.828 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.007429, allocations: 12.38 kB / 302.8 MB, free: 4.816 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.007724, allocations: 137.8 kB / 302.9 MB, free: 4.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.007734, allocations: 192 / 302.9 MB, free: 4.672 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.007754, allocations: 8.375 kB / 302.9 MB, free: 4.664 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.007762, allocations: 3.938 kB / 302.9 MB, free: 4.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.007968, allocations: 84.59 kB / 303 MB, free: 4.578 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000817/0.008785, allocations: 454.6 kB / 303.4 MB, free: 4.094 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.009105, allocations: 82.56 kB / 303.5 MB, free: 4.004 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.302e-05/0.009198, allocations: 28.97 kB / 303.6 MB, free: 3.973 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.009218, allocations: 0 / 303.6 MB, free: 3.973 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.009249, allocations: 38.5 kB / 303.6 MB, free: 3.926 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.51e-07/0.00925, allocations: 0 / 303.6 MB, free: 3.926 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007326/0.009983, allocations: 174.3 kB / 303.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.01002, allocations: 55.39 kB / 303.8 MB, free: 3.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.01017, allocations: 145.8 kB / 304 MB, free: 3.527 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.01019, allocations: 29.7 kB / 304 MB, free: 3.492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.833e-05/0.01028, allocations: 124.1 kB / 304.1 MB, free: 3.367 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.0103, allocations: 23.88 kB / 304.1 MB, free: 3.344 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.01035, allocations: 29.67 kB / 304.2 MB, free: 3.309 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.01051, allocations: 326.7 kB / 304.5 MB, free: 2.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.107e-05/0.01058, allocations: 20.23 kB / 304.5 MB, free: 2.961 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.369e-05/0.01067, allocations: 42.56 kB / 304.5 MB, free: 2.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.01083, allocations: 74.5 kB / 304.6 MB, free: 2.828 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01083, allocations: 0 / 304.6 MB, free: 2.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003212/0.01115, allocations: 138.3 kB / 304.7 MB, free: 2.684 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.01117, allocations: 11.92 kB / 304.8 MB, free: 2.672 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01118, allocations: 4 kB / 304.8 MB, free: 2.668 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.01138, allocations: 32.84 kB / 304.8 MB, free: 2.633 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.01145, allocations: 11.98 kB / 304.8 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.0131, allocations: 1.559 MB / 306.4 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.01318, allocations: 11.94 kB / 306.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.01319, allocations: 0 / 306.4 MB, free: 0.9531 MB / 286.1 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 0.0001109/0.0133, allocations: 125.8 kB / 306.5 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.01334, allocations: 7.953 kB / 306.5 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.01337, allocations: 12.84 kB / 306.5 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01337, allocations: 8.062 kB / 306.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01337, allocations: 4 kB / 306.5 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.01338, allocations: 7.922 kB / 306.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.01357, allocations: 137.3 kB / 306.7 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01357, allocations: 0 / 306.7 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.01361, allocations: 7.984 kB / 306.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.01374, allocations: 32.84 kB / 306.7 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.01375, allocations: 4 kB / 306.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.01519, allocations: 1.547 MB / 308.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.01519, allocations: 0 / 308.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.01552, allocations: 216.4 kB / 308.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.01554, allocations: 11.89 kB / 308.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.01556, allocations: 0 / 308.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.01566, allocations: 11.98 kB / 308.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.01571, allocations: 15.98 kB / 308.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.01572, allocations: 4 kB / 308.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.457e-05/0.0158, allocations: 103.3 kB / 308.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.0158, allocations: 0 / 308.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.01617, allocations: 39.95 kB / 308.7 MB, free: 14.5 MB / 302.1 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.0001113/0.01628, allocations: 99.23 kB / 308.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.01669, allocations: 194.6 kB / 308.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01669, allocations: 0 / 308.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.01692, allocations: 154.6 kB / 309.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.01718, allocations: 8 kB / 309.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.01772, allocations: 270.8 kB / 309.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.464e-05/0.01782, allocations: 94.28 kB / 309.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.959e-05/0.01786, allocations: 4.484 kB / 309.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.01789, allocations: 12.5 kB / 309.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.01789, allocations: 0 / 309.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of Templates: time 0.004817/0.0227, allocations: 1.469 MB / 310.9 MB, free: 12.13 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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.170762449502945]