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.001474/0.001474, allocations: 120.2 kB / 21.94 MB, free: 28 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.001811/0.001811, allocations: 208.8 kB / 25.24 MB, free: 3.562 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.61/1.61, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 50.59 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3404, allocations: 49.15 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003652/0.3441, allocations: 2.166 MB / 399.8 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009641/0.345, allocations: 0.5101 MB / 400.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.3452, allocations: 6.656 kB / 400.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.3453, allocations: 21.11 kB / 400.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.57e-05/0.3454, allocations: 43.11 kB / 400.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3456, allocations: 41.84 kB / 400.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.3459, allocations: 158.3 kB / 400.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.346, allocations: 45.48 kB / 400.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.3462, allocations: 61.28 kB / 400.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3463, allocations: 67.7 kB / 400.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.3463, allocations: 12.56 kB / 400.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.3464, allocations: 19.73 kB / 400.7 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.323e-05/0.3464, allocations: 28.39 kB / 400.8 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.808e-05/0.3465, allocations: 72 kB / 400.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.3468, allocations: 161.2 kB / 401 MB, free: 7.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3468, allocations: 5.438 kB / 401 MB, free: 7.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3468, allocations: 0 / 401 MB, free: 7.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.3468, allocations: 3.938 kB / 401 MB, free: 7.266 MB / 318.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.0006131/0.3474, allocations: 368.7 kB / 401.4 MB, free: 6.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3475, allocations: 13.48 kB / 401.4 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.3476, allocations: 18.33 kB / 401.4 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.3479, allocations: 150 kB / 401.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.3479, allocations: 4.766 kB / 401.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.3479, allocations: 12.8 kB / 401.6 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.3482, allocations: 128.6 kB / 401.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3482, allocations: 1.062 kB / 401.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.3482, allocations: 8.812 kB / 401.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3482, allocations: 3.969 kB / 401.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.3484, allocations: 76.67 kB / 401.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008571/0.3493, allocations: 0.5601 MB / 402.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.3496, allocations: 87.08 kB / 402.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.3497, allocations: 33.23 kB / 402.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.3497, allocations: 1.281 kB / 402.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.3497, allocations: 31.78 kB / 402.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3497, allocations: 0 / 402.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007225/0.3504, allocations: 180.3 kB / 402.7 MB, free: 5.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.3505, allocations: 56.66 kB / 402.7 MB, free: 5.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3506, allocations: 142.9 kB / 402.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.3506, allocations: 30.77 kB / 402.9 MB, free: 5.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.3507, allocations: 125 kB / 403 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3507, allocations: 21.09 kB / 403 MB, free: 5.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.3507, allocations: 20.8 kB / 403 MB, free: 5.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.3508, allocations: 321 kB / 403.4 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.3509, allocations: 27.31 kB / 403.4 MB, free: 5.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.277e-05/0.3509, allocations: 40.34 kB / 403.4 MB, free: 5.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.3511, allocations: 71.2 kB / 403.5 MB, free: 5.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3511, allocations: 0 / 403.5 MB, free: 5.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002708/0.3513, allocations: 139.1 kB / 403.6 MB, free: 5.141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3514, allocations: 7.141 kB / 403.6 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.3514, allocations: 4.062 kB / 403.6 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.3516, allocations: 45.52 kB / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.684e-05/0.3516, allocations: 9.047 kB / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.3529, allocations: 1.582 MB / 405.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.353, allocations: 14.98 kB / 405.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.353, allocations: 6.469 kB / 405.3 MB, free: 3.59 MB / 318.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 7.867e-05/0.3531, allocations: 126.5 kB / 405.4 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.3531, allocations: 13.3 kB / 405.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.3531, allocations: 14.81 kB / 405.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3531, allocations: 1.062 kB / 405.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.3531, allocations: 0 / 405.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3531, allocations: 1.594 kB / 405.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.3533, allocations: 177.8 kB / 405.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.3533, allocations: 0 / 405.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.3534, allocations: 16.95 kB / 405.6 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.3535, allocations: 40.41 kB / 405.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3535, allocations: 4.703 kB / 405.7 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.3545, allocations: 1.573 MB / 407.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3545, allocations: 0.8906 kB / 407.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.3548, allocations: 218 kB / 407.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.3548, allocations: 11.62 kB / 407.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.3548, allocations: 1.094 kB / 407.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.814e-05/0.3549, allocations: 6.25 kB / 407.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.3549, allocations: 9.219 kB / 407.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.3549, allocations: 3 kB / 407.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.713e-05/0.355, allocations: 110.9 kB / 407.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.355, allocations: 4.812 kB / 407.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000347/0.3554, allocations: 39.42 kB / 407.7 MB, free: 1.457 MB / 318.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 9.874e-05/0.3555, allocations: 100.2 kB / 407.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003721/0.3558, allocations: 186.8 kB / 407.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3558, allocations: 4 kB / 407.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.356, allocations: 160.4 kB / 408.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.3563, allocations: 23.45 kB / 408.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.3568, allocations: 317.3 kB / 408.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.357, allocations: 0.7074 MB / 409.1 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.357, allocations: 10.84 kB / 409.1 MB, free: 144 kB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.357, allocations: 0 / 409.1 MB, free: 144 kB / 318.1 MB Notification: Performance of Templates: time 0.004827/0.3618, allocations: 1.921 MB / 411.1 MB, free: 15.95 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.csv","/var/lib/jenkins1/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: 7.830391430994496]