Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.00107/0.00107, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001649/0.001649, 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 1.03/1.03, allocations: 177.1 MB / 205 MB, free: 5.277 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.2748/0.2748, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.509e-05/3.716e-05, allocations: 2.312 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003222/0.003259, allocations: 1.754 MB / 379.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.004539, allocations: 1.009 MB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.004616, allocations: 3.938 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.004962, allocations: 83.64 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.00537, allocations: 119.4 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.005537, allocations: 83.59 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.0057, allocations: 131.5 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.311e-05/0.005783, allocations: 4 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.485e-05/0.005868, allocations: 63.81 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.272e-05/0.005961, allocations: 55.88 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.005977, allocations: 4 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.006084, allocations: 47.91 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.00614, allocations: 23.92 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.006178, allocations: 23.86 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.006344, allocations: 107.6 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.006347, allocations: 4 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.006348, allocations: 0 / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.006353, allocations: 0 / 381.6 MB, free: 15.05 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004702/0.006823, allocations: 455.8 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.006861, allocations: 8.031 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.006912, allocations: 16.84 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.007082, allocations: 152.4 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.007102, allocations: 384 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.007126, allocations: 8.328 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.007255, allocations: 62.94 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.007268, allocations: 11.88 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.007279, allocations: 3.984 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.007288, allocations: 0 / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.007324, allocations: 15.98 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.0076, allocations: 287.8 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.0077, allocations: 59.09 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.007727, allocations: 19.62 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.007738, allocations: 0 / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.246e-05/0.007831, allocations: 73.05 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.11e-07/0.007832, allocations: 4 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003578/0.008189, allocations: 157.3 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.008218, allocations: 55.39 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.008346, allocations: 242.7 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.008355, allocations: 29.7 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.008406, allocations: 158.8 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.008432, allocations: 27.75 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.008461, allocations: 31.36 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.008567, allocations: 0.4962 MB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.008589, allocations: 16 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.008622, allocations: 31.36 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.252e-05/0.008674, allocations: 63.36 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.008675, allocations: 0 / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.331e-05/0.008768, allocations: 89.56 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.008779, allocations: 4 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.008783, allocations: 0 / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.008796, allocations: 0 / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.008858, allocations: 23.92 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.008863, allocations: 0 / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.008894, allocations: 8.031 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.008901, allocations: 4 kB / 384.2 MB, free: 12.25 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 6.071e-05/0.008961, allocations: 160.5 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.008976, allocations: 19.91 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.009106, allocations: 107.1 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.009108, allocations: 0 / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.009112, allocations: 0 / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.009116, allocations: 0 / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.009369, allocations: 408.9 kB / 384.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.009371, allocations: 4.031 kB / 384.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.009392, allocations: 8 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.009395, allocations: 4 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.009402, allocations: 0 / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009404, allocations: 0 / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.009405, allocations: 3.984 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.00953, allocations: 263.4 kB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.009541, allocations: 7.953 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.009557, allocations: 4.375 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.669e-05/0.009593, allocations: 4 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.009625, allocations: 11.92 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.009636, allocations: 8 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.198e-05/0.009708, allocations: 189 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009708, allocations: 0 / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.009874, allocations: 27.94 kB / 385.4 MB, free: 10.96 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.0008616/0.01074, allocations: 432.5 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.01085, allocations: 51.59 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.01085, allocations: 0 / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/0.01088, allocations: 35.73 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.01109, allocations: 28.53 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.0114, allocations: 244.5 kB / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.108e-05/0.01145, allocations: 75.27 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.035e-05/0.01148, allocations: 8.984 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.01151, allocations: 24.48 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01151, allocations: 0 / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Templates: time 0.003659/0.01516, allocations: 2.022 MB / 388.3 MB, free: 8.191 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.1005147681571543]