Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001335/0.001335, allocations: 92.31 kB / 20.96 MB, free: 3.465 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.001495/0.001495, allocations: 157.7 kB / 24.27 MB, free: 164 kB / 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 1.517/1.517, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3643/0.3643, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.201e-05, allocations: 5.266 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003258/0.00329, allocations: 1.673 MB / 377 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.004472, allocations: 0.5647 MB / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.004528, allocations: 0 / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007041/0.005232, allocations: 455 kB / 378 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005377/0.00577, allocations: 299.2 kB / 378.3 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.006274, allocations: 171.5 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.006538, allocations: 179.6 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.006643, allocations: 24.14 kB / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.006814, allocations: 119.8 kB / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.007106, allocations: 239.6 kB / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.00713, allocations: 4 kB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.007245, allocations: 55.92 kB / 379 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.007363, allocations: 87.69 kB / 379.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.00742, allocations: 35.75 kB / 379.2 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.007801, allocations: 262.9 kB / 379.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.007804, allocations: 0 / 379.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.007805, allocations: 0 / 379.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.007809, allocations: 0 / 379.4 MB, free: 0.8125 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007873/0.008596, allocations: 0.5854 MB / 380 MB, free: 200 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.008632, allocations: 8.031 kB / 380 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.637e-05/0.008718, allocations: 48.64 kB / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.009066, allocations: 258 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.009077, allocations: 384 / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.009106, allocations: 8.375 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.009279, allocations: 58.23 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.009292, allocations: 192 / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.009303, allocations: 4.125 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.009307, allocations: 0 / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.009427, allocations: 43.84 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/0.009974, allocations: 340.4 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.01011, allocations: 58.52 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/0.01016, allocations: 12.95 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.01019, allocations: 3.984 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.01023, allocations: 38.56 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.01023, allocations: 0 / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.00111/0.01134, allocations: 324.5 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.01139, allocations: 51.41 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.0125, allocations: 0.8652 MB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.01253, allocations: 29.7 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.01273, allocations: 208.1 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.01277, allocations: 31.73 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.01282, allocations: 17.72 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.01304, allocations: 370.7 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.01314, allocations: 27.98 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.265e-05/0.01323, allocations: 39.91 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.01342, allocations: 73.06 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.01342, allocations: 0 / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003086/0.01372, allocations: 153.3 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.01374, allocations: 4 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.01375, allocations: 0 / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.01377, allocations: 3.984 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.01388, allocations: 20 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.01389, allocations: 3.938 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.01395, allocations: 7.984 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.01396, allocations: 0 / 383.1 MB, free: 12.98 MB / 362.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 0.0002356/0.01419, allocations: 225.7 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.01427, allocations: 51.67 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.01466, allocations: 169.5 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.01466, allocations: 8 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01467, allocations: 0 / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01467, allocations: 432 / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/0.0154, allocations: 466.8 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.0154, allocations: 0 / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.01549, allocations: 23.86 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01549, allocations: 0 / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.0155, allocations: 4 kB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.0155, allocations: 0 / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.01551, allocations: 11.95 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.01588, allocations: 252 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.01593, allocations: 31.72 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.01595, allocations: 4 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.01605, allocations: 11.94 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.01609, allocations: 7.922 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.0161, allocations: 4 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007596/0.01686, allocations: 0.6511 MB / 385 MB, free: 11.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01686, allocations: 0 / 385 MB, free: 11.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.01715, allocations: 35.94 kB / 385 MB, free: 10.97 MB / 362.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.002282/0.01943, allocations: 487.6 kB / 385.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.0197, allocations: 87.8 kB / 385.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.0197, allocations: 0 / 385.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.01981, allocations: 39.97 kB / 385.6 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.02026, allocations: 25.95 kB / 385.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.02163, allocations: 0.8587 MB / 386.5 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.02191, allocations: 232.1 kB / 386.7 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.648e-05/0.02199, allocations: 20.72 kB / 386.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.02203, allocations: 12.5 kB / 386.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02203, allocations: 0 / 386.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of Templates: time 0.005693/0.02773, allocations: 1.63 MB / 388.4 MB, free: 7.777 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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: 4.762231652974151]