Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001172/0.001172, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001125/0.001125, allocations: 169.2 kB / 24.82 MB, free: 9.273 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.9496/0.9496, allocations: 177 MB / 205.1 MB, free: 5.484 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.2569/0.2569, allocations: 34.87 MB / 296.6 MB, free: 452 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 379.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.187e-05, allocations: 2.312 kB / 379.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00216/0.002181, allocations: 1.776 MB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003327, allocations: 1.001 MB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.289e-05/0.0034, allocations: 4 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.003664, allocations: 51.69 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.003926, allocations: 103.5 kB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.004077, allocations: 87.61 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.004233, allocations: 127.7 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.004332, allocations: 11.98 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.004428, allocations: 71.75 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.426e-05/0.004513, allocations: 39.89 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.004529, allocations: 8 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.181e-05/0.00461, allocations: 63.91 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.004658, allocations: 31.86 kB / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.004692, allocations: 27.91 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.004854, allocations: 123.5 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.004858, allocations: 11.92 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004859, allocations: 0 / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.004864, allocations: 0 / 382.9 MB, free: 14.17 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004219/0.005286, allocations: 463.7 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.00532, allocations: 12.03 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.005356, allocations: 16.84 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.005496, allocations: 160.8 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.005511, allocations: 4.375 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.005528, allocations: 8.375 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.005638, allocations: 74.86 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.005647, allocations: 4.188 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.005653, allocations: 384 / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.005659, allocations: 3.938 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.005698, allocations: 23.97 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.005965, allocations: 292.2 kB / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.006117, allocations: 71.02 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.006141, allocations: 19.67 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.006157, allocations: 8 kB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.424e-05/0.006252, allocations: 77.16 kB / 384.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.006253, allocations: 4 kB / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004406/0.006693, allocations: 229.8 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.006721, allocations: 63.33 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.006832, allocations: 225.8 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.006847, allocations: 33.7 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.006905, allocations: 151.1 kB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.006939, allocations: 47.64 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.006976, allocations: 39.34 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.007084, allocations: 0.4923 MB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.007108, allocations: 19.98 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.35e-05/0.007152, allocations: 51.27 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.74e-05/0.007209, allocations: 62.61 kB / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.00721, allocations: 0 / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001261/0.007336, allocations: 125.5 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.007348, allocations: 8 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.007353, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.007365, allocations: 4 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.007426, allocations: 31.92 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.007429, allocations: 4.031 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.007456, allocations: 7.984 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.007462, allocations: 4 kB / 385.6 MB, free: 11.16 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 (15): * Single equations (assignments): 15 * 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 6.986e-05/0.007532, allocations: 160.6 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.007552, allocations: 23.84 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.007726, allocations: 153.2 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.007732, allocations: 7.984 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.007734, allocations: 0 / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007737, allocations: 0 / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/0.008353, allocations: 445.1 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.008356, allocations: 4 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/0.0084, allocations: 23.92 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.008404, allocations: 4 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.00841, allocations: 0 / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.008414, allocations: 7.984 kB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008415, allocations: 0 / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.008574, allocations: 299.1 kB / 386.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.008588, allocations: 15.89 kB / 386.8 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.008607, allocations: 8 kB / 386.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.074e-05/0.008648, allocations: 4.062 kB / 386.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.008676, allocations: 23.91 kB / 386.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.00869, allocations: 4 kB / 386.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.792e-05/0.008748, allocations: 172.2 kB / 387 MB, free: 9.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008748, allocations: 0 / 387 MB, free: 9.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001733/0.008921, allocations: 39.86 kB / 387 MB, free: 9.711 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0009512/0.009872, allocations: 487 kB / 387.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.009992, allocations: 71.58 kB / 387.6 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.009994, allocations: 3.938 kB / 387.6 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.721e-05/0.01004, allocations: 47.59 kB / 387.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.01027, allocations: 39.89 kB / 387.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.01062, allocations: 281.4 kB / 387.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.14e-05/0.01066, allocations: 71.83 kB / 388 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.595e-05/0.01071, allocations: 25.47 kB / 388 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/0.01079, allocations: 98.19 kB / 388.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01079, allocations: 0 / 388.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of Templates: time 0.004105/0.0149, allocations: 2.603 MB / 390.7 MB, free: 6.125 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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: 2.920879005920142]