Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001509/0.001509, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.00176/0.00176, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9907/0.9907, allocations: 177 MB / 204.8 MB, free: 5.23 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.2695/0.2695, allocations: 34.87 MB / 296.3 MB, free: 0.5078 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.412e-05, allocations: 8.422 kB / 378.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002878/0.002913, allocations: 1.762 MB / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.004375, allocations: 1.016 MB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.004448, allocations: 4 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.004764, allocations: 43.75 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.005067, allocations: 95.48 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.005251, allocations: 79.67 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.005427, allocations: 111.5 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.005523, allocations: 8 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.697e-05/0.00562, allocations: 55.83 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.522e-05/0.005705, allocations: 27.91 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.005723, allocations: 4 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.622e-05/0.005819, allocations: 47.86 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.005875, allocations: 19.92 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.005925, allocations: 27.91 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.006128, allocations: 103.6 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.006131, allocations: 0 / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006132, allocations: 0 / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.006138, allocations: 0 / 382.2 MB, free: 14.61 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.0005119/0.006649, allocations: 451.8 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.00669, allocations: 8.031 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.006741, allocations: 12.89 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.007119, allocations: 160.8 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.007138, allocations: 384 / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.007165, allocations: 8.375 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.007311, allocations: 62.94 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.007321, allocations: 192 / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.007332, allocations: 384 / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.007341, allocations: 3.938 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.183e-05/0.007382, allocations: 19.92 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.007734, allocations: 291.8 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.007854, allocations: 47.17 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.00789, allocations: 23.67 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.007906, allocations: 4 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.00802, allocations: 68.98 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/0.008021, allocations: 0 / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004365/0.008458, allocations: 157.3 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.008493, allocations: 59.34 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.008664, allocations: 233.9 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.008678, allocations: 25.7 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.008745, allocations: 162.8 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.008778, allocations: 23.78 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.008818, allocations: 27.38 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.008947, allocations: 0.504 MB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.008981, allocations: 11.98 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.496e-05/0.009026, allocations: 35.36 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.889e-05/0.009095, allocations: 51.3 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.009096, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001285/0.009224, allocations: 85.58 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.009238, allocations: 4 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.009245, allocations: 3.984 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.009263, allocations: 8.031 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.009349, allocations: 15.94 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.009354, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.009392, allocations: 11.95 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.009399, allocations: 0 / 384.8 MB, free: 11.84 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.882e-05/0.009487, allocations: 166.7 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.009511, allocations: 15.89 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.009691, allocations: 111.2 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009693, allocations: 0 / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.009697, allocations: 0 / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.009701, allocations: 7.984 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.01004, allocations: 400.9 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01004, allocations: 0 / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.01008, allocations: 12.36 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.01008, allocations: 3.938 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.01009, allocations: 4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.0101, allocations: 4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.0101, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.01027, allocations: 255.4 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.01029, allocations: 11.91 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.01031, allocations: 12.03 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.01037, allocations: 3.984 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.01041, allocations: 7.938 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.01043, allocations: 7.984 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.82e-05/0.01052, allocations: 180.2 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01052, allocations: 0 / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.01078, allocations: 27.94 kB / 386 MB, free: 10.55 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.001186/0.01196, allocations: 428.9 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.0121, allocations: 55.55 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.0121, allocations: 0 / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.963e-05/0.01215, allocations: 35.61 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.01247, allocations: 27.97 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.01287, allocations: 221.9 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.271e-05/0.01293, allocations: 75.31 kB / 386.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.852e-05/0.01296, allocations: 13.41 kB / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.013, allocations: 24.48 kB / 386.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.013, allocations: 0 / 386.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of Templates: time 0.004526/0.01753, allocations: 1.869 MB / 388.7 MB, free: 7.906 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.4269458819180727]