Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001515/0.001515, allocations: 83.58 kB / 21.19 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.001625/0.001625, allocations: 161 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.9683/0.9683, allocations: 177.1 MB / 205 MB, free: 5.633 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.2849/0.2849, allocations: 32.81 MB / 294.3 MB, free: 1.297 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.401e-05, allocations: 6.25 kB / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003135/0.003169, allocations: 1.773 MB / 377.9 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.005511, allocations: 1.734 MB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.005611, allocations: 0 / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.005974, allocations: 35.77 kB / 379.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.006415, allocations: 103.5 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.00668, allocations: 87.53 kB / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.006912, allocations: 103.7 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.007034, allocations: 15.97 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.007162, allocations: 55.78 kB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.007308, allocations: 31.89 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.007331, allocations: 8 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.007558, allocations: 99.81 kB / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.109e-05/0.00763, allocations: 23.92 kB / 380.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.223e-05/0.007692, allocations: 23.91 kB / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.008041, allocations: 159.4 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.008046, allocations: 4 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.008048, allocations: 0 / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.008055, allocations: 0 / 380.3 MB, free: 340 kB / 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.0007161/0.008771, allocations: 455.8 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.008825, allocations: 8.031 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.964e-05/0.008905, allocations: 16.89 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.009168, allocations: 148.9 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.009191, allocations: 384 / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.00922, allocations: 8.375 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.009437, allocations: 107.4 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.00945, allocations: 7.953 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.009462, allocations: 0 / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.009471, allocations: 4 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.009521, allocations: 11.98 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.009919, allocations: 287.7 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.01006, allocations: 55.14 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.0101, allocations: 23.67 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.01012, allocations: 0 / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.01025, allocations: 65.05 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.01026, allocations: 4 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005278/0.01078, allocations: 153.3 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.01083, allocations: 81.05 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.01101, allocations: 224.8 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.01103, allocations: 25.7 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.01109, allocations: 146.9 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.01113, allocations: 23.78 kB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.01117, allocations: 27.38 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.01132, allocations: 0.4961 MB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.01136, allocations: 15.98 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/0.01142, allocations: 72.75 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/0.0115, allocations: 51.69 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.0115, allocations: 0 / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001619/0.01166, allocations: 89.56 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.01168, allocations: 8 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01168, allocations: 7.938 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.0117, allocations: 0 / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.01179, allocations: 15.94 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.0118, allocations: 4 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.01184, allocations: 8.062 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.01185, allocations: 7.984 kB / 383 MB, free: 13.46 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 8.775e-05/0.01194, allocations: 164.5 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.01196, allocations: 11.95 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.01216, allocations: 106.5 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.01216, allocations: 4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.01217, allocations: 0 / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01217, allocations: 0 / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.01255, allocations: 388.9 kB / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01255, allocations: 4.031 kB / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.01259, allocations: 15.98 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.0126, allocations: 0 / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.01261, allocations: 0 / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.01261, allocations: 0 / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01261, allocations: 4 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.0128, allocations: 255.4 kB / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.01282, allocations: 7.953 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.01285, allocations: 7.984 kB / 383.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.01292, allocations: 7.938 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.01295, allocations: 15.92 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.01297, allocations: 4 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.431e-05/0.01306, allocations: 162 kB / 384.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01306, allocations: 4 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.01338, allocations: 43.86 kB / 384.1 MB, free: 12.19 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.001443/0.01482, allocations: 0.5427 MB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.01498, allocations: 47.61 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01498, allocations: 0 / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.375e-05/0.01503, allocations: 35.61 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.01537, allocations: 47.97 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.0158, allocations: 197.9 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.906e-05/0.01584, allocations: 67.34 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.08e-05/0.01591, allocations: 21.27 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.01595, allocations: 24.48 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01595, allocations: 0 / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of Templates: time 0.005946/0.0219, allocations: 2.76 MB / 387.9 MB, free: 8.621 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.110243272036314]