Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.001033/0.001033, allocations: 77.92 kB / 22.21 MB, free: 2.293 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.001067/0.001067, allocations: 155 kB / 25.61 MB, free: 8.613 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.9916/0.9916, allocations: 177 MB / 205.9 MB, free: 4.426 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.1703/0.1703, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.026e-05, allocations: 3.438 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002486/0.002516, allocations: 1.718 MB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.003777, allocations: 0.9736 MB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.003883, allocations: 3.938 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.004204, allocations: 55.8 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.00452, allocations: 123.4 kB / 383 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.004732, allocations: 71.62 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.004899, allocations: 107.7 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.004943, allocations: 4.234 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.413e-05/0.005037, allocations: 63.75 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.283e-05/0.00513, allocations: 43.89 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.005145, allocations: 4 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.44e-05/0.00522, allocations: 35.91 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.005267, allocations: 23.92 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.005299, allocations: 11.94 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.005461, allocations: 91.72 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.005465, allocations: 0 / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.005467, allocations: 0 / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005472, allocations: 3.938 kB / 383.4 MB, free: 19.33 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003482/0.00582, allocations: 439.8 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.005854, allocations: 12.03 kB / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.005886, allocations: 8.891 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.006013, allocations: 153.1 kB / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.006029, allocations: 384 / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.006037, allocations: 8.359 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.338e-05/0.006131, allocations: 50.95 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.006138, allocations: 4.188 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.006145, allocations: 384 / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.00615, allocations: 7.922 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.006173, allocations: 7.938 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001035/0.006276, allocations: 113.2 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.408e-05/0.006361, allocations: 51.12 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.00638, allocations: 11.69 kB / 384.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.006392, allocations: 4 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.473e-05/0.006477, allocations: 61.05 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.006479, allocations: 3.938 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001543/0.006633, allocations: 85.58 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.006654, allocations: 51.41 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.006741, allocations: 234.8 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.00675, allocations: 29.7 kB / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.006782, allocations: 146.9 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.006809, allocations: 11.94 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.006837, allocations: 31.36 kB / 384.9 MB, free: 17.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.006885, allocations: 0.4923 MB / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.0069, allocations: 11.94 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.00692, allocations: 31.33 kB / 385.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/0.006953, allocations: 35.31 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.006955, allocations: 0 / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.069e-05/0.007026, allocations: 73.84 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.007038, allocations: 4 kB / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007042, allocations: 0 / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.00705, allocations: 4 kB / 385.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.00711, allocations: 19.98 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.007112, allocations: 7.969 kB / 385.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.007145, allocations: 7.938 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.007149, allocations: 0 / 385.6 MB, free: 16.93 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 (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 5.183e-05/0.007201, allocations: 160.6 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.007215, allocations: 19.89 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.844e-05/0.007313, allocations: 78.77 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.007316, allocations: 4 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.007318, allocations: 0 / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.007322, allocations: 3.938 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.75e-05/0.007399, allocations: 117.2 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.007402, allocations: 4 kB / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.007426, allocations: 4 kB / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.00743, allocations: 7.984 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.007435, allocations: 0 / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.007437, allocations: 0 / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.007439, allocations: 0 / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.719e-05/0.007526, allocations: 116.2 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.007541, allocations: 11.94 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.007558, allocations: 8 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.225e-05/0.007581, allocations: 0 / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.007605, allocations: 3.984 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.007618, allocations: 8 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.742e-05/0.007666, allocations: 163.1 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007666, allocations: 4 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001497/0.007816, allocations: 16 kB / 386.3 MB, free: 16.15 MB / 314.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.0009465/0.008762, allocations: 388.1 kB / 386.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.008863, allocations: 43.61 kB / 386.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008865, allocations: 0 / 386.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.008891, allocations: 19.67 kB / 386.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.009096, allocations: 31.91 kB / 386.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.009406, allocations: 199.9 kB / 387 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.626e-05/0.009432, allocations: 67.33 kB / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.354e-05/0.009465, allocations: 16.55 kB / 387.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.009524, allocations: 86.19 kB / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of SimCode: time 1.633e-06/0.009526, allocations: 0 / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of Templates: time 0.003466/0.01299, allocations: 1.812 MB / 388.9 MB, free: 13.63 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.3637836119160056]