Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00148/0.00148, allocations: 84.25 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001817/0.001817, allocations: 161.2 kB / 25.61 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9583/0.9583, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1786/0.1786, allocations: 34.88 MB / 297.4 MB, free: 13.43 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.95e-05, allocations: 2.312 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.004205/0.004235, allocations: 1.755 MB / 381.9 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.006177, allocations: 0.9906 MB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.00631, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.006719, allocations: 51.75 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.007175, allocations: 107.4 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.007495, allocations: 79.59 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.007728, allocations: 107.7 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.007855, allocations: 4 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.007999, allocations: 55.77 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.481e-05/0.008094, allocations: 27.91 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.008116, allocations: 8 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.008243, allocations: 47.91 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.551e-05/0.008318, allocations: 31.86 kB / 383.4 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.008363, allocations: 15.94 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.008608, allocations: 99.66 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.008612, allocations: 7.922 kB / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.008614, allocations: 0 / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.008619, allocations: 0 / 383.5 MB, free: 19.28 MB / 314.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.0005457/0.009165, allocations: 467.7 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.00921, allocations: 8.031 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.009272, allocations: 16.84 kB / 384 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.00949, allocations: 157.2 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.009518, allocations: 8.375 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.009541, allocations: 4.375 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.009696, allocations: 58.94 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.00971, allocations: 192 / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.00972, allocations: 8.312 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.009728, allocations: 3.938 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.209e-05/0.00977, allocations: 11.98 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.0101, allocations: 256.4 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.01025, allocations: 55.16 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.143e-05/0.01028, allocations: 19.61 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.01029, allocations: 4 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.01042, allocations: 61.05 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.425e-06/0.01042, allocations: 0 / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004526/0.01088, allocations: 149.4 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.01091, allocations: 51.41 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.01108, allocations: 256.9 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.0111, allocations: 29.7 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.01116, allocations: 162.8 kB / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.01119, allocations: 19.84 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.01124, allocations: 31.36 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.01131, allocations: 0.504 MB / 385.8 MB, free: 16.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.784e-05/0.01134, allocations: 7.984 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.01138, allocations: 35.3 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.912e-05/0.01144, allocations: 47.36 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01144, allocations: 0 / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000135/0.01158, allocations: 97.45 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.01159, allocations: 8.031 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.0116, allocations: 0 / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.01161, allocations: 4 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.01171, allocations: 15.98 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.01171, allocations: 0 / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.01176, allocations: 4.375 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.01176, allocations: 0 / 386 MB, free: 16.54 MB / 314.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 0.0001437/0.01191, allocations: 164.5 kB / 386.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.01195, allocations: 23.83 kB / 386.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.01215, allocations: 95.14 kB / 386.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.01215, allocations: 12 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01215, allocations: 3.938 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01216, allocations: 3.984 kB / 386.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.01243, allocations: 365.5 kB / 386.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01243, allocations: 3.938 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.01247, allocations: 11.98 kB / 386.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.01247, allocations: 4 kB / 386.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.01248, allocations: 0 / 386.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01248, allocations: 0 / 386.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.01249, allocations: 4 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.0126, allocations: 259.7 kB / 386.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.01261, allocations: 11.94 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.01263, allocations: 4 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.983e-05/0.01268, allocations: 3.984 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.01271, allocations: 8 kB / 386.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.01273, allocations: 4 kB / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.881e-05/0.01279, allocations: 175.1 kB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.01279, allocations: 0 / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.01298, allocations: 27.98 kB / 387.2 MB, free: 15.3 MB / 314.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.0009647/0.01395, allocations: 432.9 kB / 387.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.01406, allocations: 47.61 kB / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01406, allocations: 0 / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.333e-05/0.0141, allocations: 35.59 kB / 387.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.01436, allocations: 39.91 kB / 387.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.01469, allocations: 237.4 kB / 387.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.874e-05/0.01472, allocations: 67.45 kB / 388 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.398e-05/0.01475, allocations: 20.97 kB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.01481, allocations: 90.19 kB / 388.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01481, allocations: 0 / 388.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of Templates: time 0.003214/0.01802, allocations: 2.075 MB / 390.2 MB, free: 12.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.3588523981161416]