Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.00108/0.00108, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002548, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001024/0.001024, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002381, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.047/1.047, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1075/1.155, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.3045/0.3045, allocations: 34.88 MB / 279.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02622/0.3307, allocations: 13.24 MB / 292.8 MB, free: 6.363 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076e-05/1.2e-05, allocations: 2.969 kB / 294.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.001953/0.001965, allocations: 1.895 MB / 296.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.003273, allocations: 1.103 MB / 297.2 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.603e-05/0.003349, allocations: 0 / 297.2 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.003694, allocations: 307 kB / 297.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.003996, allocations: 247.1 kB / 297.7 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.004187, allocations: 107.5 kB / 297.8 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.004442, allocations: 267.2 kB / 298.1 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.004484, allocations: 6.469 kB / 298.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.004704, allocations: 225 kB / 298.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.004859, allocations: 172.1 kB / 298.5 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.00488, allocations: 12 kB / 298.5 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.912e-05/0.004969, allocations: 47.92 kB / 298.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.005076, allocations: 124.3 kB / 298.7 MB, free: 492 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.504e-05/0.005131, allocations: 55.69 kB / 298.7 MB, free: 436 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.005375, allocations: 274.9 kB / 299 MB, free: 160 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.005386, allocations: 0 / 299 MB, free: 160 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005386, allocations: 0 / 299 MB, free: 160 kB / 282.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.005396, allocations: 0 / 299 MB, free: 160 kB / 282.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.000738/0.006134, allocations: 0.6897 MB / 299.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.006173, allocations: 8.031 kB / 299.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.059e-05/0.006234, allocations: 36.89 kB / 299.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.006551, allocations: 297.9 kB / 300 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.006568, allocations: 384 / 300 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.006583, allocations: 12.36 kB / 300 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.006718, allocations: 87.45 kB / 300.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.006724, allocations: 192 / 300.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.006733, allocations: 4.359 kB / 300.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.006738, allocations: 11.88 kB / 300.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/0.006769, allocations: 17.64 kB / 300.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.006902, allocations: 114.3 kB / 300.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.007024, allocations: 90.8 kB / 300.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.007052, allocations: 25.69 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.007065, allocations: 7.938 kB / 300.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.007175, allocations: 92.45 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.61e-07/0.007175, allocations: 7.938 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001587/0.007334, allocations: 99.3 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.007374, allocations: 89.05 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.007737, allocations: 0.5984 MB / 301.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.007754, allocations: 25.7 kB / 301.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.007822, allocations: 149.3 kB / 301.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.007867, allocations: 27.77 kB / 301.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.007924, allocations: 29.72 kB / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.008036, allocations: 366.7 kB / 301.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.547e-05/0.008062, allocations: 14.81 kB / 301.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.38e-05/0.008095, allocations: 42.53 kB / 301.9 MB, free: 13.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.916e-05/0.008165, allocations: 71.81 kB / 302 MB, free: 12.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.008167, allocations: 0 / 302 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001163/0.008283, allocations: 107.9 kB / 302.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.008299, allocations: 6.812 kB / 302.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.008305, allocations: 4 kB / 302.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.008317, allocations: 0 / 302.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.008415, allocations: 31.92 kB / 302.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.008419, allocations: 0 / 302.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.66e-05/0.008475, allocations: 19.95 kB / 302.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.008481, allocations: 0 / 302.1 MB, free: 12.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001092/0.008591, allocations: 136.4 kB / 302.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.008624, allocations: 31.97 kB / 302.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.008788, allocations: 113.9 kB / 302.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.008791, allocations: 4 kB / 302.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.008792, allocations: 0 / 302.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.008799, allocations: 3.938 kB / 302.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.008949, allocations: 165.7 kB / 302.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008951, allocations: 3.938 kB / 302.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.052e-05/0.008981, allocations: 16 kB / 302.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.009025, allocations: 51.66 kB / 302.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.009026, allocations: 0 / 302.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.009035, allocations: 8 kB / 302.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009036, allocations: 0 / 302.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009037, allocations: 3.938 kB / 302.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.009145, allocations: 135.5 kB / 302.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.009173, allocations: 7.938 kB / 302.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.006e-05/0.009213, allocations: 4 kB / 302.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.009247, allocations: 16.09 kB / 302.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.00926, allocations: 12 kB / 302.8 MB, free: 12.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002042/0.009464, allocations: 315.2 kB / 303.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009464, allocations: 0 / 303.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001506/0.009615, allocations: 47.92 kB / 303.2 MB, free: 11.66 MB / 298.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001188/0.0108, allocations: 0.5415 MB / 303.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.01092, allocations: 56.72 kB / 303.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.01093, allocations: 8 kB / 303.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/0.01098, allocations: 40.97 kB / 303.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.0113, allocations: 386.6 kB / 304.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007742/0.01207, allocations: 0.6499 MB / 304.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.085e-05/0.01215, allocations: 132.2 kB / 305 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.535e-05/0.01222, allocations: 34.95 kB / 305 MB, free: 9.988 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.01233, allocations: 99.34 kB / 305.1 MB, free: 9.891 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01233, allocations: 0 / 305.1 MB, free: 9.891 MB / 298.7 MB Notification: Performance of Templates: time 0.0063/0.01863, allocations: 4.319 MB / 309.4 MB, free: 5.648 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.115541150793433]