Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.0009852/0.0009852, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.00105/0.00105, allocations: 160.5 kB / 24.56 MB, free: 16 kB / 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.9768/0.9768, allocations: 177 MB / 204.8 MB, free: 5.605 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.281/0.281, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.907e-05, allocations: 3.016 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002814/0.002843, allocations: 1.948 MB / 380.8 MB, free: 40 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.004346, allocations: 1.114 MB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.004449, allocations: 0 / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004631/0.004912, allocations: 259.1 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.005391, allocations: 239.1 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.005673, allocations: 123.5 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.006, allocations: 283.2 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.00612, allocations: 13.97 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.006297, allocations: 159.6 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.006494, allocations: 191.6 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.00652, allocations: 12 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.006655, allocations: 67.91 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.006743, allocations: 71.69 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.006806, allocations: 43.8 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.007101, allocations: 207.2 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.007104, allocations: 0 / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.007105, allocations: 0 / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.007111, allocations: 0 / 383.6 MB, free: 13.28 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.000647/0.007758, allocations: 0.6156 MB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.007796, allocations: 12.03 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.007872, allocations: 52.62 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.008111, allocations: 227 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.008134, allocations: 8.375 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.008156, allocations: 4.375 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.008352, allocations: 118.2 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.008367, allocations: 8.125 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.00838, allocations: 4.375 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.008389, allocations: 3.938 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.94e-05/0.008448, allocations: 31.97 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.008976, allocations: 0.522 MB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.009234, allocations: 118.2 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.009284, allocations: 43.36 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.009298, allocations: 4 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.009438, allocations: 112.4 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.009439, allocations: 0 / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001021/0.01046, allocations: 485.5 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.01052, allocations: 81.11 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.01089, allocations: 434.8 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.01092, allocations: 33.7 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.01106, allocations: 219.3 kB / 386.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.01114, allocations: 75.39 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.01121, allocations: 47.36 kB / 386.8 MB, free: 9.828 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.0114, allocations: 0.5313 MB / 387.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.01148, allocations: 31.97 kB / 387.3 MB, free: 9.254 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-05/0.01157, allocations: 84.91 kB / 387.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.01173, allocations: 134.8 kB / 387.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01173, allocations: 4 kB / 387.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002867/0.01202, allocations: 201.2 kB / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.01204, allocations: 8 kB / 387.8 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01205, allocations: 80 / 387.8 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.01207, allocations: 0 / 387.8 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.0122, allocations: 51.91 kB / 387.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.01221, allocations: 8.047 kB / 387.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.01227, allocations: 7.938 kB / 387.8 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.01229, allocations: 12 kB / 387.8 MB, free: 8.715 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 0.0001126/0.0124, allocations: 176.5 kB / 388 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.01244, allocations: 39.77 kB / 388 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.01274, allocations: 228.4 kB / 388.3 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.01274, allocations: 4 kB / 388.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.01275, allocations: 0 / 388.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.01275, allocations: 0 / 388.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006371/0.01339, allocations: 0.7684 MB / 389 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.01339, allocations: 4 kB / 389 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/0.01346, allocations: 35.86 kB / 389.1 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01346, allocations: 4 kB / 389.1 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.01347, allocations: 8 kB / 389.1 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.01348, allocations: 0 / 389.1 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01348, allocations: 7.984 kB / 389.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.01383, allocations: 0.5145 MB / 389.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.01386, allocations: 31.77 kB / 389.6 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.01389, allocations: 8 kB / 389.7 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.01397, allocations: 11.98 kB / 389.7 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.01402, allocations: 19.97 kB / 389.7 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.01404, allocations: 8 kB / 389.7 MB, free: 6.746 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001876/0.01423, allocations: 299.1 kB / 390 MB, free: 6.457 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01423, allocations: 0 / 390 MB, free: 6.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.01449, allocations: 55.92 kB / 390 MB, free: 6.402 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.001115/0.0156, allocations: 492.9 kB / 390.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.01582, allocations: 127.4 kB / 390.6 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01582, allocations: 0 / 390.6 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.0159, allocations: 83.89 kB / 390.7 MB, free: 5.855 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.01627, allocations: 58.88 kB / 390.8 MB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.01692, allocations: 0.5287 MB / 391.3 MB, free: 5.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.354e-05/0.017, allocations: 96.3 kB / 391.4 MB, free: 5.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.627e-05/0.01707, allocations: 45.91 kB / 391.5 MB, free: 5.055 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.01713, allocations: 36.48 kB / 391.5 MB, free: 5.02 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01713, allocations: 0 / 391.5 MB, free: 5.02 MB / 362.7 MB Notification: Performance of Templates: time 0.006097/0.02323, allocations: 3.627 MB / 395.1 MB, free: 1.445 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.1157737420871854]