Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.001025/0.001025, allocations: 95.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.001292/0.001292, allocations: 160.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.005/1.005, 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.2712/0.2712, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 378.8 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.301e-05/3.477e-05, allocations: 7.578 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003154/0.003189, allocations: 1.768 MB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.00448, allocations: 1.016 MB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.481e-05/0.004575, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.004932, allocations: 47.69 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.005207, allocations: 95.47 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.005375, allocations: 79.62 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.005537, allocations: 107.7 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.005633, allocations: 8 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.115e-05/0.005724, allocations: 59.77 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/0.005798, allocations: 27.91 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.005816, allocations: 4 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.351e-05/0.005899, allocations: 43.92 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.005959, allocations: 23.91 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.006, allocations: 23.86 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.006201, allocations: 99.59 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.006204, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006205, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.006212, allocations: 0 / 382.2 MB, free: 14.58 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.0004953/0.006707, allocations: 451.9 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.006756, allocations: 8.031 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.006813, allocations: 16.84 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.007013, allocations: 157.1 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.007037, allocations: 384 / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.007069, allocations: 12.31 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.007216, allocations: 66.88 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.007227, allocations: 192 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.007239, allocations: 384 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.007249, allocations: 3.938 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.488e-05/0.007294, allocations: 19.98 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.007682, allocations: 287.8 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.007806, allocations: 55.09 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.007845, allocations: 19.67 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.00786, allocations: 0 / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.007971, allocations: 68.98 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.007972, allocations: 0 / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004575/0.00843, allocations: 153.4 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.008462, allocations: 55.41 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.008622, allocations: 234.3 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.008637, allocations: 33.7 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.008698, allocations: 150.9 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.008728, allocations: 23.8 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.008769, allocations: 31.36 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.008894, allocations: 0.4962 MB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.173e-05/0.008926, allocations: 8 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-05/0.008973, allocations: 43.28 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.935e-05/0.009042, allocations: 47.36 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.009043, allocations: 4 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001431/0.009186, allocations: 93.47 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.009202, allocations: 8 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.009208, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.009227, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/0.009317, allocations: 15.98 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.009323, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.369e-05/0.009357, allocations: 8 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.009365, allocations: 4.375 kB / 384.8 MB, free: 11.82 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.37e-05/0.009449, allocations: 168.5 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.009469, allocations: 11.89 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.009654, allocations: 107.1 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009656, allocations: 0 / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.009661, allocations: 7.938 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.009665, allocations: 4 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.009997, allocations: 396.9 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01, allocations: 0 / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.01003, allocations: 8 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.01003, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.01005, allocations: 12.03 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01005, allocations: 0 / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01005, allocations: 0 / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.01023, allocations: 255.4 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.01025, allocations: 11.91 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.01027, allocations: 7.984 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.803e-05/0.01033, allocations: 4 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.01037, allocations: 7.984 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.01038, allocations: 4 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.534e-05/0.01047, allocations: 163.2 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01047, allocations: 4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.01072, allocations: 31.92 kB / 386 MB, free: 10.56 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.001131/0.01185, allocations: 427.5 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.01199, allocations: 55.55 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01199, allocations: 0 / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.798e-05/0.01204, allocations: 35.61 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.01235, allocations: 35.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.000397/0.01275, allocations: 226 kB / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.717e-05/0.0128, allocations: 71.33 kB / 386.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.988e-05/0.01284, allocations: 13.28 kB / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.01287, allocations: 20.48 kB / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01287, allocations: 0 / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of Templates: time 0.004398/0.01727, allocations: 1.858 MB / 388.7 MB, free: 7.922 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.2762939766980708]