Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001131/0.001131, 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.001175/0.001175, 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.9968/0.9968, allocations: 177.1 MB / 205 MB, free: 5.59 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.2502/0.2502, allocations: 32.81 MB / 294.3 MB, free: 1.277 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.488e-05/3.687e-05, allocations: 2.312 kB / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003742/0.003779, allocations: 1.731 MB / 377.8 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.00566, allocations: 0.982 MB / 378.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.005769, allocations: 7.938 kB / 378.8 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.006156, allocations: 47.81 kB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.00651, allocations: 107.5 kB / 379 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.006734, allocations: 79.59 kB / 379 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.006914, allocations: 99.64 kB / 379.1 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.006956, allocations: 4.234 kB / 379.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.007059, allocations: 59.75 kB / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.007144, allocations: 27.92 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.007163, allocations: 4 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.495e-05/0.007248, allocations: 27.98 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.007312, allocations: 31.91 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.007356, allocations: 19.88 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.007557, allocations: 99.59 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.00756, allocations: 0 / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.007561, allocations: 0 / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.007567, allocations: 0 / 379.4 MB, free: 1.246 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005306/0.008097, allocations: 471.6 kB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.008139, allocations: 12.03 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.008196, allocations: 20.83 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.008403, allocations: 169.2 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.008422, allocations: 384 / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.008437, allocations: 4.375 kB / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.008571, allocations: 58.88 kB / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.008583, allocations: 3.938 kB / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.008592, allocations: 0 / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.0086, allocations: 0 / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.00864, allocations: 15.98 kB / 380.1 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.008822, allocations: 152.6 kB / 380.3 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.008933, allocations: 51.11 kB / 380.3 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.008968, allocations: 15.67 kB / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.008984, allocations: 0 / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.009099, allocations: 65 kB / 380.4 MB, free: 92 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.0091, allocations: 0 / 380.4 MB, free: 92 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002293/0.009329, allocations: 93.59 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.009363, allocations: 55.41 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.009565, allocations: 274.7 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.00958, allocations: 33.7 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.009654, allocations: 166.9 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.009686, allocations: 11.91 kB / 381 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.009725, allocations: 27.31 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.009861, allocations: 0.5001 MB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.00989, allocations: 12 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/0.009924, allocations: 23.38 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.272e-05/0.009986, allocations: 39.36 kB / 381.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.009989, allocations: 0 / 381.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001218/0.01011, allocations: 85.78 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.01013, allocations: 8 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01013, allocations: 3.938 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.01015, allocations: 0 / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.01023, allocations: 11.94 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01023, allocations: 0 / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.01027, allocations: 7.984 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.01028, allocations: 0 / 381.8 MB, free: 14.66 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 (7): * Single equations (assignments): 7 * 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.696e-05/0.01036, allocations: 164.5 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.01038, allocations: 15.91 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.01053, allocations: 90.8 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01054, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.01054, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.01054, allocations: 3.984 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.01067, allocations: 168.4 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01067, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.0107, allocations: 7.984 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.0107, allocations: 4 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.01071, allocations: 0 / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01071, allocations: 3.938 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.01072, allocations: 0 / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.01084, allocations: 124.3 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.01086, allocations: 15.89 kB / 382.3 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.01089, allocations: 4 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.217e-05/0.01092, allocations: 3.938 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.01095, allocations: 3.984 kB / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.01097, allocations: 8.188 kB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.01109, allocations: 192.5 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01109, allocations: 0 / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.01131, allocations: 20 kB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009677/0.01227, allocations: 385.1 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.0124, allocations: 39.61 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0124, allocations: 0 / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.853e-05/0.01244, allocations: 27.67 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.01269, allocations: 46.23 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.01312, allocations: 246.4 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.808e-05/0.01316, allocations: 67.33 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4e-05/0.0132, allocations: 12.48 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.01324, allocations: 20.5 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01324, allocations: 0 / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of Templates: time 0.004208/0.01745, allocations: 1.664 MB / 385.1 MB, free: 11.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.2941517289727926]