Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.001919/0.001919, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 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.002457/0.002457, allocations: 218 kB / 22.99 MB, free: 4.977 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.493/1.493, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2551/0.2551, allocations: 44.26 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") [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.002387/0.002387, allocations: 63.91 kB / 468 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1791, allocations: 61.05 MB / 0.5166 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.002621/0.1817, allocations: 486.8 kB / 0.5171 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003889/0.1856, allocations: 1.995 MB / 0.519 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.1856, allocations: 0 / 0.519 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/0.1856, allocations: 7.938 kB / 0.519 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.064e-05/0.1856, allocations: 0 / 0.519 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.1869, allocations: 374.8 kB / 0.5194 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.619e-05/0.187, allocations: 4 kB / 0.5194 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.187, allocations: 3.984 kB / 0.5194 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.133e-05/0.1871, allocations: 4 kB / 0.5194 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02151/0.2086, allocations: 3.385 MB / 0.5227 GB, free: 488 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.2086, allocations: 0 / 0.5227 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.2087, allocations: 4 kB / 0.5227 GB, free: 484 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.2087, allocations: 3.938 kB / 0.5227 GB, free: 480 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.2088, allocations: 4 kB / 0.5227 GB, free: 476 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.209, allocations: 23.91 kB / 0.5228 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.209, allocations: 0 / 0.5228 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.209, allocations: 0 / 0.5228 GB, free: 452 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.209, allocations: 0 / 0.5228 GB, free: 452 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003828/0.2094, allocations: 238.4 kB / 0.523 GB, free: 184 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.2094, allocations: 19.97 kB / 0.523 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.2097, allocations: 80.22 kB / 0.5231 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.2099, allocations: 189.8 kB / 0.5233 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.21, allocations: 150.9 kB / 0.5234 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.75e-05/0.2101, allocations: 154.7 kB / 0.5235 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.2102, allocations: 101 kB / 0.5236 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.925e-05/0.2103, allocations: 75.28 kB / 0.5237 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/0.2105, allocations: 154.6 kB / 0.5239 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.46e-05/0.2105, allocations: 150.6 kB / 0.524 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/0.2106, allocations: 154.5 kB / 0.5242 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.211, allocations: 401.6 kB / 0.5245 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.2111, allocations: 165.1 kB / 0.5247 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.431e-05/0.2112, allocations: 80.14 kB / 0.5248 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.667e-05/0.2112, allocations: 79.28 kB / 0.5248 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.913e-05/0.2113, allocations: 113.8 kB / 0.525 GB, free: 14.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.133e-06/0.2113, allocations: 0 / 0.525 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001125/0.2114, allocations: 33.62 kB / 0.525 GB, free: 14.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.2116, allocations: 182.1 kB / 0.5252 GB, free: 13.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.2118, allocations: 89.86 kB / 0.5252 GB, free: 13.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.2118, allocations: 29.83 kB / 0.5253 GB, free: 13.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.2119, allocations: 84.14 kB / 0.5254 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.2119, allocations: 0 / 0.5254 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.2119, allocations: 13.72 kB / 0.5254 GB, free: 13.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.2121, allocations: 314.8 kB / 0.5257 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.2121, allocations: 0 / 0.5257 GB, free: 13.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.592e-05/0.2122, allocations: 65.11 kB / 0.5257 GB, free: 13.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.965e-05/0.2123, allocations: 75.28 kB / 0.5258 GB, free: 13.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.396e-05/0.2123, allocations: 79.28 kB / 0.5259 GB, free: 13.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.49e-05/0.2124, allocations: 37.52 kB / 0.5259 GB, free: 12.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.875e-05/0.2124, allocations: 83.28 kB / 0.526 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.389e-05/0.2125, allocations: 79.31 kB / 0.5261 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.359e-05/0.2126, allocations: 154.5 kB / 0.5262 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.2126, allocations: 83.28 kB / 0.5263 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.687e-05/0.2127, allocations: 150.6 kB / 0.5264 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.2128, allocations: 87.25 kB / 0.5265 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.2129, allocations: 83.22 kB / 0.5266 GB, free: 12.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001825/0.2131, allocations: 256.4 kB / 0.5268 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.2132, allocations: 112.9 kB / 0.527 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.428e-05/0.2133, allocations: 108 kB / 0.5271 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001593/0.2134, allocations: 180.2 kB / 0.5272 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001029/0.2135, allocations: 188.2 kB / 0.5274 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.099e-05/0.2136, allocations: 176.3 kB / 0.5276 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.2139, allocations: 360.8 kB / 0.5279 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.894e-05/0.2139, allocations: 105 kB / 0.528 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.214, allocations: 105.2 kB / 0.5281 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001067/0.2141, allocations: 184.2 kB / 0.5283 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.112e-05/0.2142, allocations: 176.3 kB / 0.5285 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001077/0.2143, allocations: 184.2 kB / 0.5286 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001041/0.2144, allocations: 180.3 kB / 0.5288 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.2146, allocations: 307.8 kB / 0.5291 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.2147, allocations: 116.9 kB / 0.5292 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.2148, allocations: 184.1 kB / 0.5294 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.2149, allocations: 109 kB / 0.5295 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.215, allocations: 184.2 kB / 0.5297 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.2151, allocations: 101 kB / 0.5298 GB, free: 8.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.453e-05/0.2151, allocations: 75.28 kB / 0.5298 GB, free: 8.773 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2151, allocations: 4 kB / 0.5298 GB, free: 8.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.2154, allocations: 0 / 0.5298 GB, free: 8.77 MB / 414.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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001629/0.2156, allocations: 166.5 kB / 0.53 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.926e-05/0.2157, allocations: 4.094 kB / 0.53 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.2157, allocations: 0 / 0.53 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.606e-06/0.2157, allocations: 7.938 kB / 0.53 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.2162, allocations: 467.6 kB / 0.5305 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.2165, allocations: 152.1 kB / 0.5306 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.414e-05/0.2165, allocations: 63.28 kB / 0.5307 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.174e-05/0.2165, allocations: 0 / 0.5307 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.2166, allocations: 7.438 kB / 0.5307 GB, free: 7.855 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2166, allocations: 0 / 0.5307 GB, free: 7.855 MB / 414.1 MB Notification: Performance of Templates: time 0.003438/0.22, allocations: 325.5 kB / 0.531 GB, free: 7.539 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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: 5.7526841051876545]