Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001366/0.001366, allocations: 79.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.0009653/0.0009653, allocations: 165.8 kB / 24.99 MB, free: 8.75 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.9729/0.9729, allocations: 177 MB / 205.2 MB, free: 5.594 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.321/0.321, allocations: 34.86 MB / 296.6 MB, free: 500 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 378.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.614e-05, allocations: 2.312 kB / 378.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002762/0.002788, allocations: 1.759 MB / 380.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.004073, allocations: 1.017 MB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.957e-05/0.004172, allocations: 4 kB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.004497, allocations: 75.64 kB / 381.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.004839, allocations: 119.4 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.005055, allocations: 87.59 kB / 381.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.005244, allocations: 115.6 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.005345, allocations: 15.97 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.06e-05/0.005435, allocations: 59.83 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.943e-05/0.005535, allocations: 59.86 kB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.005551, allocations: 4 kB / 382.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-05/0.005641, allocations: 47.86 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.005698, allocations: 27.84 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.005738, allocations: 15.94 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.00593, allocations: 99.66 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005933, allocations: 4 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005934, allocations: 0 / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.00594, allocations: 3.984 kB / 382.3 MB, free: 14.77 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.0004675/0.006407, allocations: 459.8 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.006441, allocations: 12.03 kB / 382.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.006493, allocations: 16.84 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.006669, allocations: 152.4 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.006687, allocations: 384 / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.006707, allocations: 8.328 kB / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.006836, allocations: 62.94 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.006847, allocations: 4.188 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.006857, allocations: 8.375 kB / 383.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.006865, allocations: 3.938 kB / 383.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.564e-05/0.006901, allocations: 11.98 kB / 383.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.007202, allocations: 287.8 kB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.007309, allocations: 51.17 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.007337, allocations: 19.67 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.00735, allocations: 0 / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.007456, allocations: 72.98 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.007457, allocations: 7.938 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003945/0.007852, allocations: 161.3 kB / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.007884, allocations: 55.34 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.008025, allocations: 238.7 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.00804, allocations: 33.7 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.008096, allocations: 150.9 kB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.008125, allocations: 31.73 kB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.008159, allocations: 31.38 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.008269, allocations: 0.4962 MB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.008296, allocations: 11.98 kB / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.645e-05/0.008333, allocations: 39.36 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.961e-05/0.008392, allocations: 47.31 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008394, allocations: 4 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001136/0.008507, allocations: 93.55 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.00852, allocations: 4 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.008524, allocations: 3.938 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.008537, allocations: 0 / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.701e-05/0.008614, allocations: 19.94 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.008619, allocations: 32 / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/0.008659, allocations: 8 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.008665, allocations: 7.984 kB / 384.9 MB, free: 11.97 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.448e-05/0.00874, allocations: 160.6 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.00876, allocations: 19.84 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.008917, allocations: 107.1 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.008919, allocations: 0 / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.008923, allocations: 0 / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008926, allocations: 0 / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.009232, allocations: 397.3 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.009234, allocations: 4.031 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.009265, allocations: 15.98 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.009269, allocations: 4 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.009278, allocations: 0 / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.00928, allocations: 0 / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.009282, allocations: 3.938 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.009437, allocations: 263.5 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.009449, allocations: 7.953 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.009467, allocations: 7.922 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.489e-05/0.009512, allocations: 7.984 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.009547, allocations: 11.98 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.00956, allocations: 4 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.971e-05/0.00965, allocations: 177.1 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00965, allocations: 0 / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00019/0.00984, allocations: 31.92 kB / 386.1 MB, free: 10.69 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.0009164/0.01076, allocations: 435.8 kB / 386.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.01089, allocations: 63.41 kB / 386.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0109, allocations: 0 / 386.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.01094, allocations: 35.69 kB / 386.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.01119, allocations: 35.91 kB / 386.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.01157, allocations: 232.6 kB / 386.9 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.566e-05/0.01162, allocations: 71.33 kB / 387 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.102e-05/0.01166, allocations: 21.27 kB / 387 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.01169, allocations: 16.5 kB / 387 MB, free: 9.871 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01169, allocations: 0 / 387 MB, free: 9.871 MB / 362.7 MB Notification: Performance of Templates: time 0.003851/0.01555, allocations: 1.874 MB / 388.9 MB, free: 8.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.1558774691075087]