Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.0009995/0.0009995, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.002023/0.002023, allocations: 161 kB / 24.56 MB, free: 20 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.023/1.023, allocations: 177.1 MB / 205 MB, free: 5.289 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.2773/0.2773, allocations: 32.81 MB / 294.3 MB, free: 1.23 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.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.813e-05, allocations: 6.25 kB / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.005608/0.005636, allocations: 1.774 MB / 377.9 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00454/0.01018, allocations: 1.001 MB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.65e-05/0.01025, allocations: 4 kB / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.01056, allocations: 51.69 kB / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.01089, allocations: 95.48 kB / 379 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.01108, allocations: 79.61 kB / 379.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.01123, allocations: 107.7 kB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.104e-05/0.01132, allocations: 4 kB / 379.2 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.72e-05/0.0114, allocations: 59.77 kB / 379.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.01147, allocations: 23.91 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.01148, allocations: 4 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.715e-05/0.01157, allocations: 47.92 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.01162, allocations: 23.92 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.01166, allocations: 27.84 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.01184, allocations: 99.66 kB / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01184, allocations: 0 / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01184, allocations: 0 / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.01185, allocations: 0 / 379.5 MB, free: 1.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004562/0.0123, allocations: 451.8 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.01234, allocations: 8.031 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.01239, allocations: 16.84 kB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.01256, allocations: 157.1 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.01258, allocations: 4.375 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.0126, allocations: 4.375 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.01272, allocations: 58.94 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.01273, allocations: 3.938 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.01274, allocations: 4 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.01275, allocations: 3.938 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.01279, allocations: 15.92 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003303/0.01609, allocations: 283.8 kB / 380.5 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.01622, allocations: 51.17 kB / 380.5 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.01627, allocations: 27.61 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.01629, allocations: 7.984 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.01639, allocations: 68.98 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.0164, allocations: 0 / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004134/0.01681, allocations: 149.4 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.01684, allocations: 51.41 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.017, allocations: 238.3 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.01701, allocations: 25.7 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.01708, allocations: 154.9 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.0171, allocations: 27.8 kB / 381.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.01714, allocations: 31.36 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.01726, allocations: 0.4962 MB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.01729, allocations: 8 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.01733, allocations: 35.36 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.951e-05/0.0174, allocations: 59.22 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.0174, allocations: 0 / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001295/0.01753, allocations: 93.53 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.01754, allocations: 4 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01755, allocations: 4.406 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.01756, allocations: 4 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.01764, allocations: 15.98 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01765, allocations: 4 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.01768, allocations: 4 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.01769, allocations: 4 kB / 382 MB, free: 14.42 MB / 362.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.524e-05/0.01776, allocations: 163.9 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.01778, allocations: 15.95 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.01796, allocations: 111.2 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01796, allocations: 4 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01796, allocations: 0 / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01796, allocations: 0 / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.01828, allocations: 396.9 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01829, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.01832, allocations: 19.88 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01832, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.01833, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01833, allocations: 4 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01833, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.0185, allocations: 263.5 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.01851, allocations: 15.89 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.01853, allocations: 0 / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.696e-05/0.01858, allocations: 4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.01862, allocations: 11.98 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.01863, allocations: 0 / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.675e-05/0.01872, allocations: 172.1 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01872, allocations: 0 / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003255/0.02197, allocations: 27.92 kB / 383.2 MB, free: 13.16 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: 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.00115/0.02312, allocations: 440.3 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.02325, allocations: 51.61 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02325, allocations: 0 / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.699e-05/0.0233, allocations: 35.61 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.02361, allocations: 30.97 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.02398, allocations: 218.3 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.489e-05/0.02402, allocations: 67.33 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.961e-05/0.02406, allocations: 17.09 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.0241, allocations: 20.48 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0241, allocations: 0 / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.006687/0.03079, allocations: 1.87 MB / 385.9 MB, free: 10.54 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.404120952822268]