Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.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.001582/0.001582, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.001168/0.001168, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.005/1.005, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1491/0.1491, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.26e-05, allocations: 16.16 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00206/0.002083, allocations: 1.734 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008351/0.002918, allocations: 0.796 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.002988, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.003312, allocations: 39.7 kB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.003511, allocations: 55.77 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.003665, allocations: 87.69 kB / 350.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.003802, allocations: 99.64 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.00389, allocations: 4.234 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.003957, allocations: 55.81 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.004019, allocations: 19.92 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.004035, allocations: 4 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.716e-05/0.004103, allocations: 51.84 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.004149, allocations: 19.92 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.004182, allocations: 15.94 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.004322, allocations: 95.66 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.004324, allocations: 0 / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004325, allocations: 0 / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.004328, allocations: 0 / 350.8 MB, free: 6.27 MB / 282.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.0003733/0.004702, allocations: 439.9 kB / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.004737, allocations: 12.03 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.004778, allocations: 12.84 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.004919, allocations: 160.2 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.004935, allocations: 384 / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.004958, allocations: 4.375 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.00506, allocations: 58.94 kB / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.005069, allocations: 11.94 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.005078, allocations: 0 / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.005086, allocations: 0 / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.005118, allocations: 11.98 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.005375, allocations: 283.8 kB / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.79e-05/0.005473, allocations: 47.17 kB / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.0055, allocations: 23.62 kB / 351.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.005513, allocations: 0 / 351.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.295e-05/0.005596, allocations: 73.03 kB / 351.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.005597, allocations: 0 / 351.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003503/0.005947, allocations: 149.7 kB / 352.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.005967, allocations: 55.34 kB / 352.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.006052, allocations: 219 kB / 352.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.00606, allocations: 29.7 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.006093, allocations: 150.8 kB / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.006116, allocations: 31.78 kB / 352.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.006143, allocations: 31.36 kB / 352.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.006188, allocations: 0.4923 MB / 353.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.006208, allocations: 16 kB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.006236, allocations: 35.3 kB / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.006283, allocations: 63.3 kB / 353.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.006285, allocations: 0 / 353.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.829e-05/0.006373, allocations: 81.64 kB / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.006384, allocations: 8 kB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006388, allocations: 0 / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.006402, allocations: 0 / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.006469, allocations: 19.92 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.006474, allocations: 8.031 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.006506, allocations: 0 / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.006514, allocations: 4 kB / 353.3 MB, free: 3.555 MB / 282.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 5.37e-05/0.006567, allocations: 164.5 kB / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.006581, allocations: 15.91 kB / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.00671, allocations: 106.5 kB / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.006712, allocations: 0 / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.006714, allocations: 0 / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006718, allocations: 4 kB / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.006919, allocations: 385 kB / 354 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.00692, allocations: 4.031 kB / 354 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.006946, allocations: 15.97 kB / 354 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.006948, allocations: 4 kB / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.006956, allocations: 4 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.006957, allocations: 0 / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.006959, allocations: 4 kB / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.531e-05/0.007054, allocations: 255.4 kB / 354.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.007062, allocations: 7.953 kB / 354.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.007078, allocations: 4 kB / 354.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.007113, allocations: 4 kB / 354.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.007149, allocations: 15.92 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.007161, allocations: 4 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.542e-05/0.007206, allocations: 163.1 kB / 354.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007206, allocations: 0 / 354.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.007367, allocations: 27.92 kB / 354.5 MB, free: 2.305 MB / 282.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.0007887/0.008155, allocations: 441.2 kB / 354.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.008267, allocations: 59.53 kB / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.008268, allocations: 0 / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.008308, allocations: 39.67 kB / 355 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.008544, allocations: 27.48 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.008878, allocations: 213.5 kB / 355.2 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.217e-05/0.00891, allocations: 63.34 kB / 355.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.955e-05/0.00894, allocations: 16.47 kB / 355.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.008971, allocations: 16.5 kB / 355.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.008972, allocations: 4.062 kB / 355.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of Templates: time 0.003501/0.01247, allocations: 1.834 MB / 357.2 MB, free: 15.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/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.334380656015128]