Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.0009586/0.0009586, allocations: 84.2 kB / 20.94 MB, free: 3.609 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.0009008/0.0009008, allocations: 169 kB / 24.25 MB, free: 312 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.8145/0.8145, allocations: 158.6 MB / 186 MB, free: 2.93 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.174/0.174, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.815e-05, allocations: 8.219 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.00172/0.001738, allocations: 1.599 MB / 349.3 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004016/0.002139, allocations: 315.4 kB / 349.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.002182, allocations: 0 / 349.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.002335, allocations: 23.86 kB / 349.6 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.00248, allocations: 47.7 kB / 349.7 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.002617, allocations: 63.78 kB / 349.7 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.878e-05/0.002706, allocations: 63.77 kB / 349.8 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.002768, allocations: 8 kB / 349.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.002804, allocations: 31.92 kB / 349.8 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.204e-05/0.002836, allocations: 7.984 kB / 349.8 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.002846, allocations: 7.938 kB / 349.8 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.335e-05/0.00289, allocations: 27.97 kB / 349.9 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.002917, allocations: 8 kB / 349.9 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.002936, allocations: 19.92 kB / 349.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.385e-05/0.00303, allocations: 67.67 kB / 350 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.003031, allocations: 0 / 350 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003032, allocations: 0 / 350 MB, free: 7.473 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.003034, allocations: 0 / 350 MB, free: 7.473 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002316/0.003266, allocations: 408.2 kB / 350.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.572e-05/0.003292, allocations: 15.97 kB / 350.4 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.003319, allocations: 8.891 kB / 350.4 MB, free: 7.016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.215e-05/0.003411, allocations: 140.3 kB / 350.5 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.003418, allocations: 384 / 350.5 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.003431, allocations: 4.375 kB / 350.5 MB, free: 6.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.083e-05/0.003502, allocations: 58.89 kB / 350.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.003509, allocations: 192 / 350.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.003516, allocations: 4.125 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.003521, allocations: 0 / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.003543, allocations: 4 kB / 350.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.003718, allocations: 275.8 kB / 350.9 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.003825, allocations: 46.98 kB / 350.9 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.00384, allocations: 11.69 kB / 350.9 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.003852, allocations: 3.938 kB / 350.9 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.177e-05/0.003864, allocations: 33.39 kB / 351 MB, free: 6.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.003864, allocations: 0 / 351 MB, free: 6.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002282/0.004093, allocations: 101.5 kB / 351 MB, free: 6.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.742e-05/0.00411, allocations: 51.41 kB / 351.1 MB, free: 6.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.004177, allocations: 204.1 kB / 351.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-06/0.004182, allocations: 25.7 kB / 351.3 MB, free: 5.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.004207, allocations: 146.8 kB / 351.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.189e-05/0.004219, allocations: 7.906 kB / 351.5 MB, free: 5.777 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.00424, allocations: 27.36 kB / 351.5 MB, free: 5.742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.004278, allocations: 0.4884 MB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.004291, allocations: 7.984 kB / 352 MB, free: 5.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.004301, allocations: 8 kB / 352 MB, free: 5.227 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.004332, allocations: 31.81 kB / 352 MB, free: 5.191 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.004333, allocations: 0 / 352 MB, free: 5.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.21e-05/0.004385, allocations: 57.58 kB / 352.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.004394, allocations: 8 kB / 352.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.004397, allocations: 4 kB / 352.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.004406, allocations: 0 / 352.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.908e-05/0.004435, allocations: 8 kB / 352.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.004439, allocations: 3.984 kB / 352.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.004454, allocations: 11.94 kB / 352.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.004457, allocations: 0 / 352.1 MB, free: 5.094 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: 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): 5 * 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 3.497e-05/0.004492, allocations: 160.5 kB / 352.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.004507, allocations: 11.89 kB / 352.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.355e-05/0.004581, allocations: 66.14 kB / 352.4 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.004582, allocations: 0 / 352.4 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.004584, allocations: 4 kB / 352.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004587, allocations: 4 kB / 352.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.00473, allocations: 321.3 kB / 352.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.004731, allocations: 0 / 352.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.004752, allocations: 11.98 kB / 352.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.004753, allocations: 288 / 352.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.004759, allocations: 4 kB / 352.7 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004759, allocations: 192 / 352.7 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.00476, allocations: 4 kB / 352.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.132e-05/0.004821, allocations: 211.8 kB / 352.9 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-06/0.004828, allocations: 7.953 kB / 352.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-06/0.004836, allocations: 4 kB / 352.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.004863, allocations: 0 / 352.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.004887, allocations: 11.92 kB / 352.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.004889, allocations: 0 / 352.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.204e-05/0.004921, allocations: 149.7 kB / 353.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004921, allocations: 0 / 353.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001399/0.005061, allocations: 19.92 kB / 353.1 MB, free: 4.047 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0006734/0.005735, allocations: 368 kB / 353.5 MB, free: 3.777 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.443e-05/0.005799, allocations: 31.67 kB / 353.5 MB, free: 3.742 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.0058, allocations: 0 / 353.5 MB, free: 3.742 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.697e-05/0.005817, allocations: 23.61 kB / 353.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.005995, allocations: 23.86 kB / 353.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002096/0.006204, allocations: 169.9 kB / 353.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.737e-05/0.006232, allocations: 63.34 kB / 353.8 MB, free: 3.414 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.164e-05/0.006253, allocations: 7.984 kB / 353.8 MB, free: 3.406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.006271, allocations: 12.5 kB / 353.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of SimCode: time 5.62e-07/0.006272, allocations: 0 / 353.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of Templates: time 0.002265/0.008537, allocations: 1.148 MB / 354.9 MB, free: 2.258 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.3490284620784223]