Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.0009672/0.0009672, allocations: 85.91 kB / 21.43 MB, free: 3.066 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.0009938/0.0009938, allocations: 165 kB / 24.82 MB, free: 8.875 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 1.014/1.014, 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.2557/0.2557, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 379.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.019e-05, allocations: 2.312 kB / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002582/0.002602, allocations: 1.936 MB / 381.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.004073, allocations: 1.098 MB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.004187, allocations: 8 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.004559, allocations: 159.3 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004043/0.004963, allocations: 187.2 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.005226, allocations: 123.5 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.005472, allocations: 251.2 kB / 383.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.005576, allocations: 21.94 kB / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.005719, allocations: 135.6 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.005853, allocations: 127.7 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.005874, allocations: 12 kB / 383.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.005984, allocations: 63.92 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.006049, allocations: 55.77 kB / 383.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.006101, allocations: 47.78 kB / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.006316, allocations: 183.2 kB / 383.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.006318, allocations: 0 / 383.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006319, allocations: 0 / 383.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.006323, allocations: 0 / 383.7 MB, free: 13.34 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005881/0.006911, allocations: 0.573 MB / 384.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.006956, allocations: 12.03 kB / 384.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.007011, allocations: 32.78 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.007226, allocations: 212.6 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.007245, allocations: 8.375 kB / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.007264, allocations: 4.375 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.00742, allocations: 122.1 kB / 384.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.007431, allocations: 192 / 384.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.00744, allocations: 4.375 kB / 384.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.007447, allocations: 11.88 kB / 384.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.747e-05/0.007485, allocations: 19.97 kB / 384.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.007834, allocations: 467.2 kB / 385.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.008094, allocations: 110.1 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.00813, allocations: 31.36 kB / 385.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.008147, allocations: 4 kB / 385.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.008273, allocations: 116.4 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.008274, allocations: 0 / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006152/0.00889, allocations: 378.1 kB / 385.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.008927, allocations: 85.05 kB / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.009117, allocations: 346.2 kB / 386.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.009134, allocations: 33.7 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.009218, allocations: 203.2 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.009268, allocations: 71.41 kB / 386.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.009317, allocations: 55.33 kB / 386.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.009447, allocations: 0.5195 MB / 387.1 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.009481, allocations: 27.97 kB / 387.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.412e-05/0.009535, allocations: 72.83 kB / 387.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.362e-05/0.009629, allocations: 122.8 kB / 387.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.00963, allocations: 0 / 387.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001718/0.009802, allocations: 181.3 kB / 387.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.009813, allocations: 8 kB / 387.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.009818, allocations: 3.984 kB / 387.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.00983, allocations: 0 / 387.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.701e-05/0.009917, allocations: 43.92 kB / 387.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.00992, allocations: 4.062 kB / 387.5 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.009963, allocations: 11.98 kB / 387.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.009972, allocations: 12 kB / 387.5 MB, free: 9.207 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.512e-05/0.01006, allocations: 168.5 kB / 387.7 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.01009, allocations: 39.81 kB / 387.8 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.01032, allocations: 215.3 kB / 388 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.01032, allocations: 4 kB / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01032, allocations: 0 / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01033, allocations: 3.984 kB / 388 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.01079, allocations: 0.683 MB / 388.7 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01079, allocations: 0 / 388.7 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.01084, allocations: 39.92 kB / 388.7 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01085, allocations: 0 / 388.7 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.01086, allocations: 15.92 kB / 388.7 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01086, allocations: 0 / 388.7 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01086, allocations: 7.938 kB / 388.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.01113, allocations: 495 kB / 389.2 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.01115, allocations: 31.8 kB / 389.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.01117, allocations: 11.94 kB / 389.2 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.01125, allocations: 8 kB / 389.2 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.01129, allocations: 19.91 kB / 389.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.0113, allocations: 15.98 kB / 389.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.01141, allocations: 234.9 kB / 389.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01141, allocations: 0 / 389.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.01164, allocations: 51.92 kB / 389.6 MB, free: 7.082 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009421/0.01258, allocations: 483.8 kB / 390 MB, free: 6.758 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.01274, allocations: 123.4 kB / 390.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01274, allocations: 0 / 390.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.928e-05/0.01281, allocations: 75.88 kB / 390.2 MB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.01314, allocations: 68.34 kB / 390.3 MB, free: 6.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.01363, allocations: 461.5 kB / 390.7 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/0.01369, allocations: 88.31 kB / 390.8 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.013e-05/0.01376, allocations: 41.91 kB / 390.9 MB, free: 5.848 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.01387, allocations: 122.2 kB / 391 MB, free: 5.727 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01387, allocations: 0 / 391 MB, free: 5.727 MB / 362.7 MB Notification: Performance of Templates: time 0.004858/0.01873, allocations: 3.669 MB / 394.7 MB, free: 2.125 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.9641571110114455]