Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.001043/0.001043, allocations: 83.69 kB / 21.7 MB, free: 2.848 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.001124/0.001124, allocations: 161.5 kB / 24.99 MB, free: 9.32 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.9265/0.9265, allocations: 177 MB / 205.2 MB, free: 5.184 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.2674/0.2674, allocations: 34.86 MB / 296.6 MB, free: 472 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.818e-05, allocations: 9.125 kB / 378.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003557/0.003585, allocations: 1.707 MB / 380.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.005214, allocations: 0.9969 MB / 381.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.349e-05/0.005307, allocations: 3.938 kB / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.005662, allocations: 59.73 kB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.006035, allocations: 111.5 kB / 381.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.006244, allocations: 83.59 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.006443, allocations: 107.6 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.006488, allocations: 4.234 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.006601, allocations: 59.81 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.006957, allocations: 39.91 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.006978, allocations: 4 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.062e-05/0.007068, allocations: 39.91 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.007132, allocations: 23.86 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.007179, allocations: 15.94 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.007378, allocations: 87.66 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.007381, allocations: 3.938 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007382, allocations: 0 / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.007387, allocations: 0 / 382.2 MB, free: 14.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005306/0.007918, allocations: 440 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.007958, allocations: 8.031 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/0.008021, allocations: 16.84 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.008242, allocations: 153.1 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.008263, allocations: 384 / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.008276, allocations: 8.312 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.008423, allocations: 54.94 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.008431, allocations: 192 / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.008442, allocations: 384 / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.008452, allocations: 3.938 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.772e-05/0.008499, allocations: 19.92 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.008675, allocations: 136.7 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.00881, allocations: 51.11 kB / 383.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.008847, allocations: 11.69 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.008861, allocations: 4 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.008988, allocations: 68.98 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.008989, allocations: 0 / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002425/0.009232, allocations: 85.58 kB / 383.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.009271, allocations: 59.34 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.009464, allocations: 238.4 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.00948, allocations: 25.7 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.009549, allocations: 150.9 kB / 383.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.009587, allocations: 19.84 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.009627, allocations: 23.38 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.009784, allocations: 0.4923 MB / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.483e-05/0.009819, allocations: 11.98 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.009864, allocations: 27.31 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.216e-05/0.009937, allocations: 39.36 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.009939, allocations: 4 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000138/0.01008, allocations: 73.58 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.01009, allocations: 4 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.0101, allocations: 0 / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.01012, allocations: 0 / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.01021, allocations: 11.94 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01022, allocations: 4 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.01027, allocations: 7.953 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.01028, allocations: 4 kB / 384.4 MB, free: 12.48 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 (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 0.0001066/0.01038, allocations: 164.5 kB / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.01041, allocations: 19.92 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.01059, allocations: 82.83 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01059, allocations: 0 / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.0106, allocations: 7.875 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.0106, allocations: 0 / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.01073, allocations: 144.6 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01073, allocations: 384 / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.01077, allocations: 7.984 kB / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.01077, allocations: 4 kB / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.01078, allocations: 4 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01079, allocations: 4 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01079, allocations: 0 / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.01095, allocations: 128.2 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.01097, allocations: 7.953 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.01099, allocations: 0 / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.01104, allocations: 0 / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.01108, allocations: 11.92 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.01109, allocations: 4 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.0112, allocations: 167.2 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0112, allocations: 0 / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.01145, allocations: 15.94 kB / 385.2 MB, free: 11.65 MB / 362.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.001156/0.0126, allocations: 371.7 kB / 385.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.01274, allocations: 47.59 kB / 385.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01274, allocations: 4.062 kB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.557e-05/0.01279, allocations: 19.69 kB / 385.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.01306, allocations: 35.89 kB / 385.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.01349, allocations: 198.1 kB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.6e-05/0.01353, allocations: 67.28 kB / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.967e-05/0.01358, allocations: 16.47 kB / 385.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.01362, allocations: 16.5 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01362, allocations: 0 / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of Templates: time 0.003719/0.01734, allocations: 1.635 MB / 387.5 MB, free: 9.336 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.1099735519383103]