Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.0009325/0.0009325, allocations: 81.81 kB / 21.42 MB, free: 3.078 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.001276/0.001276, allocations: 168.4 kB / 24.82 MB, free: 8.941 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.9859/0.9859, allocations: 177 MB / 205.1 MB, free: 5.457 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.2662/0.2662, allocations: 34.87 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 379.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.656e-05, allocations: 2.312 kB / 379.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002191/0.002207, allocations: 1.756 MB / 381.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.003317, allocations: 1.005 MB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.003397, allocations: 4 kB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.003643, allocations: 39.7 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.003903, allocations: 103.5 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.004064, allocations: 71.67 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.004196, allocations: 111.6 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.379e-05/0.00427, allocations: 7.984 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-05/0.004346, allocations: 55.78 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.004417, allocations: 31.89 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.004431, allocations: 4 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.412e-05/0.004506, allocations: 43.92 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.004547, allocations: 19.92 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.004581, allocations: 23.86 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.00472, allocations: 95.66 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004721, allocations: 4 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004722, allocations: 0 / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.004725, allocations: 4 kB / 382.7 MB, free: 14.33 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.0003957/0.00512, allocations: 451.8 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.005152, allocations: 12.03 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.005182, allocations: 12.84 kB / 383.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.005304, allocations: 149.1 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.005319, allocations: 8.359 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.005352, allocations: 384 / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.626e-05/0.005449, allocations: 62.94 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005457, allocations: 192 / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.005463, allocations: 4.359 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.005469, allocations: 11.88 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.005493, allocations: 8 kB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.005729, allocations: 260.3 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/0.005806, allocations: 55.14 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.005826, allocations: 15.69 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.005839, allocations: 0 / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.026e-05/0.00592, allocations: 68.98 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.005921, allocations: 0 / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002944/0.006215, allocations: 141.4 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.006243, allocations: 51.41 kB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.006359, allocations: 226.3 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.006372, allocations: 33.7 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.006425, allocations: 150.8 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.006451, allocations: 27.77 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.006482, allocations: 27.38 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.006593, allocations: 0.4962 MB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.006608, allocations: 11.98 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.006636, allocations: 35.3 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.006678, allocations: 51.3 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.006679, allocations: 0 / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.732e-05/0.006767, allocations: 85.91 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.006779, allocations: 8 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.006785, allocations: 3.938 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.006795, allocations: 3.984 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.006848, allocations: 16 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-06/0.006851, allocations: 4 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.006875, allocations: 0 / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.00688, allocations: 8.031 kB / 385.1 MB, free: 11.66 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.474e-05/0.006955, allocations: 160.6 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.00697, allocations: 19.84 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.007092, allocations: 99.06 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.007095, allocations: 4 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.007096, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.0071, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.007355, allocations: 357.6 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.007358, allocations: 4 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.007383, allocations: 23.95 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.007385, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.007391, allocations: 3.938 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.007392, allocations: 4 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.007394, allocations: 0 / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.007525, allocations: 255.4 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.007535, allocations: 7.953 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.007551, allocations: 4 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.007591, allocations: 7.984 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.007614, allocations: 4 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.007626, allocations: 7.984 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.955e-05/0.007696, allocations: 163.1 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007696, allocations: 0 / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.00787, allocations: 27.94 kB / 386.3 MB, free: 10.45 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.0009017/0.008771, allocations: 437.9 kB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.981e-05/0.008861, allocations: 43.59 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.008862, allocations: 0 / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.309e-05/0.008896, allocations: 39.53 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.009116, allocations: 43.98 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.009395, allocations: 210 kB / 387 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.9e-05/0.009434, allocations: 67.34 kB / 387.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.00947, allocations: 17.27 kB / 387.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.00954, allocations: 90.19 kB / 387.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.009541, allocations: 0 / 387.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of Templates: time 0.003367/0.01291, allocations: 2.038 MB / 389.2 MB, free: 7.574 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.0573088289238513]