Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.0009648/0.0009648, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.000974/0.000974, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.004/1.004, allocations: 177 MB / 204.8 MB, free: 5.566 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.2793/0.2793, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 266.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.955e-05, allocations: 2.312 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002588/0.002618, allocations: 1.764 MB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.004452, allocations: 1.741 MB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.004572, allocations: 0 / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.004993, allocations: 35.77 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000485/0.005478, allocations: 107.4 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.005724, allocations: 79.59 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.005929, allocations: 111.7 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.006028, allocations: 11.94 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.00613, allocations: 55.84 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.006252, allocations: 31.89 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.006272, allocations: 8 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.006464, allocations: 107.7 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.006516, allocations: 19.92 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.006558, allocations: 19.92 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.006823, allocations: 159.5 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.006827, allocations: 0 / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006828, allocations: 0 / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.006832, allocations: 0 / 383.1 MB, free: 13.74 MB / 362.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.0005201/0.007353, allocations: 459.8 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.00739, allocations: 11.97 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.007448, allocations: 16.89 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.007642, allocations: 145 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.007661, allocations: 384 / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.007683, allocations: 8.375 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.007854, allocations: 112 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.007867, allocations: 7.891 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.007878, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.007885, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.336e-05/0.007928, allocations: 19.94 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.008253, allocations: 279.8 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.008377, allocations: 55.16 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.008412, allocations: 19.62 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.008425, allocations: 4 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.008539, allocations: 68.98 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.008541, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004445/0.008985, allocations: 153.3 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002942/0.009279, allocations: 85.09 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.00943, allocations: 215.3 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.009447, allocations: 29.64 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.009505, allocations: 146.9 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.009532, allocations: 23.8 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.009575, allocations: 31.36 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.009693, allocations: 0.4884 MB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.009727, allocations: 15.98 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-05/0.009782, allocations: 68.69 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.832e-05/0.00986, allocations: 59.28 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.009861, allocations: 0 / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001347/0.009996, allocations: 97.5 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01001, allocations: 8 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01002, allocations: 0 / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.01003, allocations: 0 / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.01011, allocations: 12 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.01011, allocations: 4 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.01015, allocations: 7.984 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.01016, allocations: 4 kB / 385.7 MB, free: 10.88 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 (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 8.212e-05/0.01024, allocations: 168.5 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.01027, allocations: 15.94 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.01044, allocations: 102.8 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01044, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.01044, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.01045, allocations: 4 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.01079, allocations: 396.9 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01079, allocations: 0 / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.287e-05/0.01082, allocations: 11.94 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01082, allocations: 4 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.01083, allocations: 4.031 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01083, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01083, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.01101, allocations: 255.4 kB / 386.6 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.01102, allocations: 15.94 kB / 386.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.01105, allocations: 4 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.924e-05/0.01111, allocations: 0 / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.01114, allocations: 11.98 kB / 386.7 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.01116, allocations: 4 kB / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.9e-05/0.01124, allocations: 169.5 kB / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01124, allocations: 4 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.01153, allocations: 47.86 kB / 386.9 MB, free: 9.594 MB / 362.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.001336/0.01287, allocations: 0.528 MB / 387.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.01301, allocations: 55.59 kB / 387.5 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01301, allocations: 0 / 387.5 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.01306, allocations: 31.62 kB / 387.5 MB, free: 9.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.01336, allocations: 31.97 kB / 387.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.01372, allocations: 206 kB / 387.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.481e-05/0.01377, allocations: 63.34 kB / 387.8 MB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.894e-05/0.01382, allocations: 16.97 kB / 387.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.01386, allocations: 20.48 kB / 387.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01386, allocations: 0 / 387.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of Templates: time 0.005357/0.01922, allocations: 2.766 MB / 390.6 MB, free: 6.012 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.336918583139777]