Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001422/0.001422, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001022/0.001022, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.944/0.944, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.2425/0.2425, allocations: 32.8 MB / 294.6 MB, free: 1.258 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test15,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.481e-05, allocations: 5.578 kB / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002287/0.002312, allocations: 1.654 MB / 324.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006979/0.00301, allocations: 0.5258 MB / 325.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.003059, allocations: 0 / 325.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.003306, allocations: 87.58 kB / 325.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.003564, allocations: 103.6 kB / 325.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.003788, allocations: 99.56 kB / 325.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.003934, allocations: 87.73 kB / 325.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.57e-05/0.00401, allocations: 8 kB / 325.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.004077, allocations: 47.88 kB / 325.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.954e-05/0.004166, allocations: 47.89 kB / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.004178, allocations: 0 / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.004256, allocations: 51.91 kB / 325.9 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.004298, allocations: 23.92 kB / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.004322, allocations: 12.56 kB / 326 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.004462, allocations: 95.59 kB / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.004466, allocations: 0 / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004467, allocations: 0 / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.217e-06/0.004471, allocations: 0 / 326.1 MB, free: 6.844 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.0003659/0.004837, allocations: 317.5 kB / 326.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.004866, allocations: 8.031 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.004894, allocations: 12.92 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.005015, allocations: 147.4 kB / 326.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.005024, allocations: 4.375 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.005044, allocations: 4.375 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.005147, allocations: 62.88 kB / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.005155, allocations: 4.125 kB / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.005165, allocations: 8.125 kB / 326.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.005168, allocations: 0 / 326.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.968e-05/0.005188, allocations: 7.984 kB / 326.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.005427, allocations: 175 kB / 326.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.557e-05/0.005473, allocations: 30.58 kB / 326.8 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.133e-05/0.005484, allocations: 8.859 kB / 326.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.005501, allocations: 4.094 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.005519, allocations: 42.48 kB / 326.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.00552, allocations: 0 / 326.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003849/0.005905, allocations: 137.8 kB / 327 MB, free: 5.789 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.005931, allocations: 55.41 kB / 327.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.006032, allocations: 184.8 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.00604, allocations: 25.7 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.006076, allocations: 100.8 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.006096, allocations: 23.81 kB / 327.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.006122, allocations: 25.69 kB / 327.4 MB, free: 5.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.006249, allocations: 322.8 kB / 327.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.006263, allocations: 11.94 kB / 327.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.006275, allocations: 8 kB / 327.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.006307, allocations: 32.81 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006308, allocations: 0 / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.906e-05/0.006367, allocations: 53.62 kB / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.006378, allocations: 8 kB / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.006383, allocations: 0 / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.006394, allocations: 0 / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.006459, allocations: 19.92 kB / 327.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.006463, allocations: 4 kB / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.006481, allocations: 7.938 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.006487, allocations: 3.984 kB / 327.9 MB, free: 4.859 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 6.402e-05/0.006551, allocations: 112.7 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.006568, allocations: 11.94 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.006682, allocations: 83.34 kB / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.006684, allocations: 0 / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.006686, allocations: 4 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006688, allocations: 0 / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.006918, allocations: 251.5 kB / 328.3 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.00692, allocations: 4 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.00696, allocations: 15.98 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006963, allocations: 0 / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.006968, allocations: 4 kB / 328.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.00697, allocations: 0 / 328.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006971, allocations: 0 / 328.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.842e-05/0.007059, allocations: 168.2 kB / 328.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.007069, allocations: 11.91 kB / 328.5 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.007079, allocations: 3.984 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.227e-05/0.007112, allocations: 12.03 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.007138, allocations: 7.984 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.007142, allocations: 0 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.19e-05/0.007184, allocations: 51.66 kB / 328.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007184, allocations: 0 / 328.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000137/0.007321, allocations: 23.98 kB / 328.6 MB, free: 4.039 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.00114/0.008461, allocations: 0.5668 MB / 329.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.062e-05/0.008542, allocations: 44.7 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.008545, allocations: 0 / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.991e-05/0.008565, allocations: 16.86 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.008716, allocations: 16.3 kB / 329.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.009019, allocations: 231.6 kB / 329.5 MB, free: 3.438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.00906, allocations: 71.33 kB / 329.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.153e-05/0.009092, allocations: 16.66 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.009295, allocations: 63.36 kB / 329.7 MB, free: 3.27 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009295, allocations: 0 / 329.7 MB, free: 3.27 MB / 298.7 MB Notification: Performance of Templates: time 0.003101/0.0124, allocations: 1.49 MB / 331.2 MB, free: 1.797 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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.9630786296911538]