Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.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.001073/0.001073, allocations: 80.92 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.001089/0.001089, allocations: 168 kB / 24.91 MB, free: 9.184 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.9466/0.9466, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2703/0.2703, allocations: 34.26 MB / 296.1 MB, free: 0.6523 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.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.824e-05, allocations: 4.422 kB / 325.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.005816/0.005845, allocations: 1.756 MB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004412/0.01026, allocations: 1.006 MB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.01033, allocations: 0 / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.01058, allocations: 39.7 kB / 328.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.01088, allocations: 99.48 kB / 328.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.01108, allocations: 87.59 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.01123, allocations: 99.69 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.179e-05/0.0113, allocations: 7.984 kB / 328.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.242e-05/0.0114, allocations: 55.78 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.01146, allocations: 31.89 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.01148, allocations: 4 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.01156, allocations: 43.92 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.0116, allocations: 19.94 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.01164, allocations: 24.41 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.0118, allocations: 107.5 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.0118, allocations: 0 / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0118, allocations: 0 / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.01181, allocations: 0 / 328.7 MB, free: 4.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003647/0.01217, allocations: 313.6 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.0122, allocations: 12.03 kB / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.01223, allocations: 4.938 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.01238, allocations: 142.3 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.0124, allocations: 4.375 kB / 329.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.01242, allocations: 384 / 329.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.01253, allocations: 73.7 kB / 329.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.01254, allocations: 3.938 kB / 329.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.01255, allocations: 3.984 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.01255, allocations: 0 / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.51e-05/0.01258, allocations: 7.984 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.01278, allocations: 170 kB / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.91e-05/0.01288, allocations: 85.28 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.01291, allocations: 16.78 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.01292, allocations: 7.938 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.482e-05/0.01302, allocations: 70.16 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.01302, allocations: 0 / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003052/0.01333, allocations: 109.5 kB / 329.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.01336, allocations: 55.41 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.01348, allocations: 174.1 kB / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.01349, allocations: 25.7 kB / 330 MB, free: 2.789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.01353, allocations: 92.11 kB / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.01355, allocations: 27.75 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.01359, allocations: 29.69 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.01368, allocations: 322.8 kB / 330.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.0137, allocations: 14.83 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.01373, allocations: 29.62 kB / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.217e-05/0.01378, allocations: 44.52 kB / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.01378, allocations: 0 / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001004/0.01388, allocations: 72.38 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.01389, allocations: 4 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.0139, allocations: 384 / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.01391, allocations: 0 / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.01398, allocations: 19.98 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.01399, allocations: 8.031 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.01402, allocations: 4 kB / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.01403, allocations: 4 kB / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.544e-05/0.0141, allocations: 121.2 kB / 330.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.01412, allocations: 11.92 kB / 330.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.01424, allocations: 71.14 kB / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01425, allocations: 0 / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.01425, allocations: 7.984 kB / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01425, allocations: 0 / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.0145, allocations: 291.6 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.0145, allocations: 0 / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.01453, allocations: 11.94 kB / 331.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.01454, allocations: 4 kB / 331.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.01454, allocations: 4 kB / 331.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01455, allocations: 3.984 kB / 331.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01455, allocations: 80 / 331.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.01467, allocations: 222.9 kB / 331.3 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.01468, allocations: 11.91 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.0147, allocations: 0 / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.01476, allocations: 12.03 kB / 331.4 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.01478, allocations: 3.984 kB / 331.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.0148, allocations: 4 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.775e-05/0.01484, allocations: 48.34 kB / 331.4 MB, free: 1.207 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01484, allocations: 0 / 331.4 MB, free: 1.207 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.01506, allocations: 31.92 kB / 331.5 MB, free: 1.176 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004444/0.01951, allocations: 0.5665 MB / 332 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.01962, allocations: 48.77 kB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.01963, allocations: 0 / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.496e-05/0.01966, allocations: 24.78 kB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.0199, allocations: 42.45 kB / 332.1 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.02027, allocations: 224.1 kB / 332.4 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.315e-05/0.02032, allocations: 67.33 kB / 332.4 MB, free: 468 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.13e-05/0.02036, allocations: 13.28 kB / 332.4 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.02043, allocations: 67.36 kB / 332.5 MB, free: 388 kB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02043, allocations: 0 / 332.5 MB, free: 388 kB / 298.7 MB Notification: Performance of Templates: time 0.00706/0.02749, allocations: 2.007 MB / 334.5 MB, free: 14.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/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: 3.037245665676892]