Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.001598/0.001598, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001068/0.001068, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9222/0.9222, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2549/0.2549, allocations: 34.26 MB / 296.1 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.518e-05, allocations: 3.188 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.001924/0.001939, allocations: 1.654 MB / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006795/0.002618, allocations: 0.5335 MB / 327.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.002665, allocations: 0 / 327.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.002916, allocations: 111.7 kB / 327.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.00315, allocations: 123.4 kB / 327.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.003326, allocations: 91.62 kB / 327.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.003464, allocations: 96.42 kB / 327.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.506e-05/0.003539, allocations: 7.984 kB / 327.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.003604, allocations: 55.81 kB / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.003691, allocations: 55.88 kB / 328 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.003702, allocations: 7.938 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.178e-05/0.003774, allocations: 47.92 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.003818, allocations: 27.91 kB / 328.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.00384, allocations: 19.92 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.003976, allocations: 91.61 kB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.003977, allocations: 0 / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003978, allocations: 0 / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.003981, allocations: 0 / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003094/0.004291, allocations: 333.4 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.004319, allocations: 8.031 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.004348, allocations: 16.92 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.004476, allocations: 146.4 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.004486, allocations: 4.375 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.004505, allocations: 4.375 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.054e-05/0.004586, allocations: 50.95 kB / 328.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.004595, allocations: 192 / 328.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.004604, allocations: 12.12 kB / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.00461, allocations: 3.984 kB / 328.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.004631, allocations: 11.88 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.004822, allocations: 175.1 kB / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.41e-05/0.004866, allocations: 26.58 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.004879, allocations: 13.02 kB / 329 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.004892, allocations: 4 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.004912, allocations: 42.42 kB / 329 MB, free: 3.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.004913, allocations: 0 / 329 MB, free: 3.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003632/0.005276, allocations: 145.9 kB / 329.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.005303, allocations: 51.41 kB / 329.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.005421, allocations: 201.6 kB / 329.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.00543, allocations: 25.7 kB / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.005464, allocations: 104.1 kB / 329.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.005484, allocations: 27.75 kB / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.005512, allocations: 25.69 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.005583, allocations: 322.8 kB / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.005596, allocations: 7.984 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.005608, allocations: 11.98 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.915e-05/0.005637, allocations: 25.02 kB / 329.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.005638, allocations: 4 kB / 329.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.291e-05/0.005691, allocations: 61.59 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.0057, allocations: 4 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.005705, allocations: 4 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.005717, allocations: 4 kB / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.854e-05/0.005776, allocations: 12 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.005779, allocations: 0 / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.005797, allocations: 7.984 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.005801, allocations: 4 kB / 330 MB, free: 2.723 MB / 298.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 (8): * Single equations (assignments): 8 * 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 5.378e-05/0.005855, allocations: 112.6 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.005874, allocations: 19.92 kB / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.006e-05/0.005964, allocations: 71.12 kB / 330.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.005967, allocations: 4 kB / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.005968, allocations: 3.938 kB / 330.2 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.005972, allocations: 8 kB / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.006175, allocations: 255.4 kB / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.006176, allocations: 0 / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.006204, allocations: 16 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.006205, allocations: 4 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.006211, allocations: 3.984 kB / 330.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006212, allocations: 3.938 kB / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.006213, allocations: 0 / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.348e-05/0.006297, allocations: 160.3 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.006307, allocations: 15.94 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.006317, allocations: 4 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/0.006349, allocations: 4 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.00637, allocations: 3.984 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.006373, allocations: 4 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.752e-05/0.00642, allocations: 64.22 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00642, allocations: 0 / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001309/0.006551, allocations: 23.98 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001125/0.007676, allocations: 0.5794 MB / 331.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.006e-05/0.007747, allocations: 36.78 kB / 331.4 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.007749, allocations: 0 / 331.4 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.007771, allocations: 24.78 kB / 331.4 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.007918, allocations: 27.14 kB / 331.5 MB, free: 1.523 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.008206, allocations: 238.5 kB / 331.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.165e-05/0.008247, allocations: 71.34 kB / 331.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.189e-05/0.008279, allocations: 17.03 kB / 331.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.008329, allocations: 63.36 kB / 331.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.008329, allocations: 0 / 331.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of Templates: time 0.002845/0.01117, allocations: 1.496 MB / 333.3 MB, free: 15.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.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: 2.8857090286910534]