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.001075/0.001075, allocations: 91.5 kB / 21.19 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.001899/0.001899, 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.061/1.061, allocations: 177 MB / 204.8 MB, free: 5.602 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.2932/0.2932, allocations: 34.87 MB / 296.3 MB, free: 476 kB / 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.245e-06/2.245e-06, allocations: 4 kB / 378.9 MB, free: 1.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.425e-05, allocations: 3.156 kB / 378.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002431/0.002455, allocations: 1.764 MB / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.004084, allocations: 1.737 MB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.004147, allocations: 4 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.004391, allocations: 31.77 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.004681, allocations: 103.4 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.004826, allocations: 87.59 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.004965, allocations: 111.6 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.683e-05/0.005042, allocations: 4 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.005126, allocations: 59.83 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.921e-05/0.005225, allocations: 39.89 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.005242, allocations: 4 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.005378, allocations: 107.8 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.005427, allocations: 23.91 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.005469, allocations: 15.94 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.005693, allocations: 167.4 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.005696, allocations: 0 / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005697, allocations: 0 / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.005701, allocations: 0 / 383.1 MB, free: 13.68 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.0004201/0.006121, allocations: 455.8 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.006152, allocations: 8.031 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.006195, allocations: 8.891 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.006365, allocations: 153 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.006383, allocations: 4.375 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.006404, allocations: 384 / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.00656, allocations: 123.9 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.006571, allocations: 7.891 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.00658, allocations: 0 / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.006585, allocations: 0 / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.32e-05/0.006619, allocations: 15.98 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.006896, allocations: 279.8 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.006999, allocations: 55.09 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.007028, allocations: 19.62 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.007042, allocations: 0 / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.566e-05/0.007137, allocations: 69.05 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.007138, allocations: 4 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003593/0.007498, allocations: 149.4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.007537, allocations: 85.11 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.007669, allocations: 211.3 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.007688, allocations: 29.7 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.007743, allocations: 142.9 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.007768, allocations: 23.8 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.007806, allocations: 35.36 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.007913, allocations: 0.4923 MB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.007938, allocations: 8 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.557e-05/0.007983, allocations: 72.69 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.764e-05/0.008041, allocations: 51.3 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008042, allocations: 4.031 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001109/0.008153, allocations: 97.52 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.008165, allocations: 4 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.00817, allocations: 3.938 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.008185, allocations: 4 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.008252, allocations: 12 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.008257, allocations: 3.984 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.008285, allocations: 4 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.008291, allocations: 4 kB / 385.7 MB, free: 10.83 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 7.54e-05/0.008367, allocations: 168.5 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.008385, allocations: 15.95 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.008535, allocations: 106.7 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.008537, allocations: 0 / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.00854, allocations: 0 / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.008544, allocations: 0 / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.009102, allocations: 404.9 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.009104, allocations: 0 / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.009131, allocations: 8 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009134, allocations: 0 / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.009142, allocations: 8.031 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.009144, allocations: 0 / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.009145, allocations: 0 / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.00929, allocations: 255.4 kB / 386.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.009307, allocations: 11.94 kB / 386.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.009327, allocations: 4 kB / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.618e-05/0.009373, allocations: 4 kB / 386.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.009406, allocations: 7.984 kB / 386.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.009421, allocations: 4 kB / 386.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.619e-05/0.009497, allocations: 165.5 kB / 386.8 MB, free: 9.605 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009497, allocations: 0 / 386.8 MB, free: 9.605 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.009702, allocations: 55.86 kB / 386.9 MB, free: 9.551 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.001204/0.01091, allocations: 0.5376 MB / 387.4 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.01103, allocations: 55.59 kB / 387.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01103, allocations: 0 / 387.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.01107, allocations: 35.66 kB / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.01131, allocations: 23.98 kB / 387.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.01163, allocations: 210 kB / 387.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.952e-05/0.01167, allocations: 63.34 kB / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.245e-05/0.01172, allocations: 12.97 kB / 387.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.01176, allocations: 24.48 kB / 387.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01176, allocations: 0 / 387.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of Templates: time 0.004192/0.01595, allocations: 2.531 MB / 390.4 MB, free: 6.184 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.607535902876407]