Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001435/0.001435, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0011/0.0011, allocations: 165 kB / 24.56 MB, free: 16 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 0.9686/0.9686, allocations: 177.1 MB / 205 MB, free: 5.609 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.2617/0.2617, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/2.99e-05, allocations: 5.406 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.005675/0.005705, allocations: 1.661 MB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00455/0.01026, allocations: 1.278 MB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.818e-05/0.01032, allocations: 0 / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.01057, allocations: 35.72 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.0109, allocations: 83.55 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.01119, allocations: 119.6 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.01135, allocations: 87.69 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.01146, allocations: 19.98 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.01153, allocations: 39.91 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.01162, allocations: 27.91 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.01164, allocations: 4 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.0118, allocations: 91.88 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.01184, allocations: 19.91 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.01188, allocations: 15.94 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.01213, allocations: 151.4 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01213, allocations: 0 / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01213, allocations: 0 / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.01214, allocations: 0 / 381.7 MB, free: 14.99 MB / 362.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.0004525/0.01259, allocations: 440 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.01263, allocations: 8.031 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.01268, allocations: 16.84 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.01285, allocations: 140.5 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.01286, allocations: 384 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.01288, allocations: 4.375 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/0.01607, allocations: 116 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.01608, allocations: 4.125 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.01609, allocations: 4.125 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.0161, allocations: 0 / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.57e-05/0.01614, allocations: 23.98 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.0165, allocations: 299.6 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.886e-05/0.01658, allocations: 46.98 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.01661, allocations: 19.67 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.01664, allocations: 4 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.01666, allocations: 37.52 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.01666, allocations: 0 / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004551/0.01712, allocations: 129.8 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.01716, allocations: 81.05 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.01731, allocations: 207.8 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.01732, allocations: 33.69 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.01738, allocations: 142.8 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.01741, allocations: 27.8 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.01745, allocations: 23.38 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.01757, allocations: 0.4961 MB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.0176, allocations: 12 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.843e-05/0.01765, allocations: 57.14 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.01771, allocations: 35.83 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01771, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001239/0.01783, allocations: 85.55 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.01785, allocations: 8.031 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01785, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.01787, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.01796, allocations: 16 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01797, allocations: 0 / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.018, allocations: 3.984 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.01801, allocations: 4 kB / 384.2 MB, free: 12.27 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 7.851e-05/0.01808, allocations: 164.5 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.01812, allocations: 7.953 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.01828, allocations: 98.31 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01829, allocations: 4 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01829, allocations: 3.938 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01829, allocations: 0 / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.01862, allocations: 349.3 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01862, allocations: 0 / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.01867, allocations: 27.92 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01868, allocations: 3.984 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.01868, allocations: 0 / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01868, allocations: 240 / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01869, allocations: 0 / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.02184, allocations: 227.8 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.02186, allocations: 11.94 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.02188, allocations: 4 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.655e-05/0.02193, allocations: 4 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.02196, allocations: 3.984 kB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.02197, allocations: 4 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.996e-05/0.02205, allocations: 161.4 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02205, allocations: 3.938 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002909/0.02234, allocations: 35.88 kB / 385.2 MB, free: 11.09 MB / 362.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 (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.001166/0.02351, allocations: 493.7 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.02364, allocations: 43.66 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.02364, allocations: 0 / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.002e-05/0.02368, allocations: 31.59 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.02397, allocations: 27.98 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.02434, allocations: 198.2 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.02439, allocations: 63.34 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.04e-05/0.02445, allocations: 21.02 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.0245, allocations: 20.48 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0245, allocations: 0 / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of Templates: time 0.01011/0.0346, allocations: 1.934 MB / 388.1 MB, free: 8.406 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.322827496100217]