Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.001115/0.001115, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001201/0.001201, allocations: 173 kB / 24.05 MB, free: 456 kB / 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.9673/0.9673, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] 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.1428/0.1428, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 348.1 MB, free: 9.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.26e-05, allocations: 6.25 kB / 348.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001011/0.001034, allocations: 0.5083 MB / 348.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.002183, allocations: 1.387 MB / 350 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.002215, allocations: 0 / 350 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.002232, allocations: 0 / 350 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.002452, allocations: 11.92 kB / 350 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007389/0.003191, allocations: 272.7 kB / 350.3 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.029e-05/0.003231, allocations: 11.92 kB / 350.3 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.877e-05/0.00326, allocations: 0 / 350.3 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.996e-05/0.00329, allocations: 8 kB / 350.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.502e-05/0.003325, allocations: 0 / 350.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.813e-06/0.003332, allocations: 0 / 350.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.005314, allocations: 1.008 MB / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-06/0.005323, allocations: 0 / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.32e-05/0.005337, allocations: 0 / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.005537, allocations: 215.4 kB / 351.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.005538, allocations: 3.938 kB / 351.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005539, allocations: 0 / 351.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.005542, allocations: 0 / 351.5 MB, free: 5.906 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000198/0.00574, allocations: 413.7 kB / 351.9 MB, free: 5.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.005777, allocations: 8.031 kB / 351.9 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.005803, allocations: 0.9375 kB / 351.9 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.135e-05/0.005854, allocations: 112.9 kB / 352 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.005864, allocations: 4.375 kB / 352 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-06/0.005869, allocations: 384 / 352 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.096e-05/0.00592, allocations: 55.97 kB / 352.1 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.005927, allocations: 192 / 352.1 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.005933, allocations: 8.125 kB / 352.1 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.005938, allocations: 0 / 352.1 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-06/0.005947, allocations: 37.62 kB / 352.1 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.789e-05/0.006005, allocations: 93.25 kB / 352.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.48e-05/0.00603, allocations: 52.8 kB / 352.3 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.072e-05/0.00604, allocations: 33.39 kB / 352.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-06/0.006044, allocations: 8 kB / 352.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.006068, allocations: 71.08 kB / 352.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.006069, allocations: 0 / 352.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001078/0.006177, allocations: 118.7 kB / 352.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.672e-05/0.006193, allocations: 81.11 kB / 352.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.774e-05/0.006231, allocations: 157.9 kB / 352.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-06/0.006236, allocations: 25.7 kB / 352.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.377e-05/0.006249, allocations: 130.9 kB / 352.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.006261, allocations: 256 / 352.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.006278, allocations: 27.36 kB / 352.9 MB, free: 4.262 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.588e-05/0.006314, allocations: 496.1 kB / 353.4 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-06/0.006322, allocations: 25.7 kB / 353.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.006329, allocations: 25.7 kB / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.948e-05/0.006349, allocations: 67.08 kB / 353.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.00635, allocations: 3.938 kB / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.452e-05/0.006385, allocations: 85.11 kB / 353.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.006401, allocations: 33.7 kB / 353.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006404, allocations: 0 / 353.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.006414, allocations: 4.094 kB / 353.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.006416, allocations: 3.984 kB / 353.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.006418, allocations: 3.938 kB / 353.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-06/0.006427, allocations: 0 / 353.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.006432, allocations: 4 kB / 353.7 MB, free: 3.461 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 3.67e-05/0.006468, allocations: 182.3 kB / 353.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-06/0.006473, allocations: 4 kB / 353.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.135e-05/0.006484, allocations: 3.156 kB / 353.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.21e-07/0.006485, allocations: 0 / 353.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.006486, allocations: 0 / 353.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006489, allocations: 7.938 kB / 353.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.066e-05/0.00652, allocations: 97.25 kB / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.00652, allocations: 0 / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.006521, allocations: 0 / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.006521, allocations: 0 / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-06/0.006525, allocations: 0 / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-07/0.006525, allocations: 3.938 kB / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4e-07/0.006526, allocations: 4 kB / 353.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.442e-05/0.00657, allocations: 131.7 kB / 354.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-06/0.006574, allocations: 7.938 kB / 354.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.006582, allocations: 4 kB / 354.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-06/0.006587, allocations: 8.031 kB / 354.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-06/0.006595, allocations: 0 / 354.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-06/0.006597, allocations: 0 / 354.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.284e-05/0.006609, allocations: 127.2 kB / 354.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00661, allocations: 0 / 354.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.006795, allocations: 63.8 kB / 354.3 MB, free: 2.75 MB / 282.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004248/0.00722, allocations: 381 kB / 354.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.194e-05/0.007282, allocations: 122.4 kB / 354.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.007283, allocations: 0 / 354.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.39e-05/0.007297, allocations: 96.78 kB / 354.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.372e-05/0.00738, allocations: 0 / 354.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001074/0.007488, allocations: 124.2 kB / 355 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.46e-05/0.007502, allocations: 51.36 kB / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.218e-06/0.007507, allocations: 0 / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.007531, allocations: 78.12 kB / 355.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of SimCode: time 3.21e-07/0.007531, allocations: 0 / 355.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of Templates: time 0.00266/0.01019, allocations: 1.894 MB / 357 MB, free: 15.93 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.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: 3.0859436406753957]