Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.0009889/0.0009889, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009932/0.0009932, 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.9625/0.9625, allocations: 177.2 MB / 205 MB, free: 5.301 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.2768/0.2768, allocations: 34.26 MB / 295.7 MB, free: 0.707 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.189e-05, allocations: 2.312 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002588/0.00262, allocations: 1.782 MB / 379.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.00388, allocations: 1.017 MB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.003956, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.004324, allocations: 111.6 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.004688, allocations: 123.5 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.004912, allocations: 87.53 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.005117, allocations: 127.6 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.005226, allocations: 8 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.701e-05/0.005323, allocations: 75.73 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.005429, allocations: 63.86 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.005446, allocations: 8 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.005557, allocations: 59.92 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.005611, allocations: 27.86 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.005651, allocations: 27.91 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.005836, allocations: 119.5 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.005838, allocations: 0 / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.005839, allocations: 0 / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.005844, allocations: 0 / 381.8 MB, free: 14.92 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004965/0.006341, allocations: 479.6 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.006378, allocations: 8.031 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.006435, allocations: 28.83 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.006638, allocations: 156.4 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.006663, allocations: 384 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.006687, allocations: 8.312 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.006827, allocations: 66.94 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.006841, allocations: 3.938 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.006853, allocations: 0 / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.006863, allocations: 4 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.006909, allocations: 19.91 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.007316, allocations: 311.6 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.007525, allocations: 62.97 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.007558, allocations: 15.69 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.007575, allocations: 3.938 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.007708, allocations: 77.16 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.00771, allocations: 0 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005738/0.008283, allocations: 221.3 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.008317, allocations: 55.41 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.00847, allocations: 265.6 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.008482, allocations: 29.7 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.008547, allocations: 170.8 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.008581, allocations: 27.75 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.008618, allocations: 39.36 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.008739, allocations: 0.5 MB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.008769, allocations: 23.92 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-05/0.008813, allocations: 43.3 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.759e-05/0.008881, allocations: 63.36 kB / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008882, allocations: 0 / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000123/0.009005, allocations: 117.6 kB / 384.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.009017, allocations: 8 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.009022, allocations: 0 / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.00904, allocations: 0 / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.009099, allocations: 19.98 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.009106, allocations: 4 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.009135, allocations: 7.891 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.009144, allocations: 8 kB / 384.6 MB, free: 11.89 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 (13): * Single equations (assignments): 13 * 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 8.947e-05/0.009233, allocations: 172.5 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.009251, allocations: 19.84 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.009421, allocations: 127.2 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.009423, allocations: 0 / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.009428, allocations: 3.984 kB / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.009432, allocations: 0 / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.009744, allocations: 448.6 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.009747, allocations: 4 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.009776, allocations: 15.94 kB / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.009779, allocations: 0 / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.009791, allocations: 11.98 kB / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.009792, allocations: 4.062 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.009794, allocations: 3.938 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.009948, allocations: 287.1 kB / 385.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.009967, allocations: 11.91 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.009997, allocations: 7.984 kB / 385.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.634e-05/0.01004, allocations: 7.938 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.01008, allocations: 11.92 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.01009, allocations: 4 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.693e-05/0.01019, allocations: 188.4 kB / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01019, allocations: 0 / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001859/0.01038, allocations: 39.94 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001122/0.0115, allocations: 487.5 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.01164, allocations: 71.53 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01164, allocations: 4.062 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.01169, allocations: 39.61 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.01192, allocations: 35.34 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.01228, allocations: 282 kB / 386.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.665e-05/0.01233, allocations: 75.33 kB / 386.9 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.11e-05/0.01237, allocations: 20.75 kB / 386.9 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.0124, allocations: 20.5 kB / 386.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.0124, allocations: 0 / 386.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of Templates: time 0.003733/0.01614, allocations: 2.281 MB / 389.2 MB, free: 7.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.274212311953306]