Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.0009807/0.0009807, allocations: 85.91 kB / 22.22 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.00135/0.00135, allocations: 160.1 kB / 25.61 MB, free: 8.582 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 1.034/1.034, allocations: 177 MB / 205.9 MB, free: 4.418 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.1564/0.1564, allocations: 34.88 MB / 297.4 MB, free: 13.41 MB / 282.7 MB " [Timeout remaining time 179] 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.969e-05, allocations: 3.656 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002195/0.002215, allocations: 1.753 MB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.003916, allocations: 1.726 MB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.004005, allocations: 0 / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.004321, allocations: 43.7 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.004621, allocations: 95.53 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.00476, allocations: 83.5 kB / 383.8 MB, free: 18.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.004912, allocations: 115.6 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.005012, allocations: 4 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.363e-05/0.005095, allocations: 63.81 kB / 384 MB, free: 18.76 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.005212, allocations: 35.91 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.005229, allocations: 4 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.005362, allocations: 99.88 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.005414, allocations: 19.91 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.00545, allocations: 27.86 kB / 384.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.005657, allocations: 155.5 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005658, allocations: 0 / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005659, allocations: 4 kB / 384.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.005664, allocations: 0 / 384.3 MB, free: 18.42 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.0004123/0.006077, allocations: 463.6 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.006113, allocations: 12.03 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.006158, allocations: 8.891 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.00631, allocations: 153 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.006328, allocations: 384 / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.006348, allocations: 4.375 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.006472, allocations: 104 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.006484, allocations: 7.922 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.006492, allocations: 0 / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.006498, allocations: 4 kB / 385.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.685e-05/0.006525, allocations: 15.92 kB / 385.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.006765, allocations: 256.4 kB / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.083e-05/0.006855, allocations: 47.09 kB / 385.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.00688, allocations: 23.73 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.006894, allocations: 0 / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.958e-05/0.006983, allocations: 68.92 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.006984, allocations: 0 / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003563/0.00734, allocations: 137.8 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.007376, allocations: 81.09 kB / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/0.007471, allocations: 218.9 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.00748, allocations: 25.7 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.007519, allocations: 142.9 kB / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.007546, allocations: 27.83 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.007576, allocations: 27.38 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.00765, allocations: 0.4962 MB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.007666, allocations: 11.98 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.007701, allocations: 64.75 kB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.42e-05/0.007745, allocations: 55.36 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.007746, allocations: 4.031 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.745e-05/0.007843, allocations: 85.5 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.007856, allocations: 7.938 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.007863, allocations: 4 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.007873, allocations: 0 / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.007939, allocations: 12 kB / 386.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.007943, allocations: 0 / 386.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.007976, allocations: 15.89 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.007982, allocations: 3.984 kB / 386.9 MB, free: 15.63 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 5.492e-05/0.008037, allocations: 160.6 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.008057, allocations: 19.89 kB / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.008178, allocations: 98.38 kB / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.00818, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.008182, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.008186, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.008404, allocations: 365.6 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.008405, allocations: 0 / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.00843, allocations: 15.92 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.008432, allocations: 0 / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.008439, allocations: 8.031 kB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.00844, allocations: 4 kB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.008441, allocations: 0 / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.797e-05/0.008539, allocations: 251.7 kB / 387.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.008549, allocations: 11.94 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.008567, allocations: 8 kB / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/0.008606, allocations: 0 / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.008633, allocations: 7.984 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.008646, allocations: 4 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.849e-05/0.008694, allocations: 163.2 kB / 387.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008694, allocations: 0 / 387.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.008885, allocations: 47.86 kB / 388 MB, free: 14.41 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.001337/0.01022, allocations: 0.5339 MB / 388.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.01034, allocations: 51.58 kB / 388.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01034, allocations: 0 / 388.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.01038, allocations: 31.61 kB / 388.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01061, allocations: 35.22 kB / 388.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.01093, allocations: 211.7 kB / 388.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.838e-05/0.01099, allocations: 67.47 kB / 388.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.633e-05/0.01105, allocations: 16.97 kB / 388.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.01114, allocations: 102.2 kB / 389 MB, free: 13.51 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01114, allocations: 0 / 389 MB, free: 13.51 MB / 314.7 MB Notification: Performance of Templates: time 0.004375/0.01551, allocations: 2.808 MB / 391.8 MB, free: 10.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.6741017610765994]