Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.0009831/0.0009831, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001022/0.001022, allocations: 160.5 kB / 24.56 MB, free: 12 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.978/0.978, allocations: 177 MB / 204.8 MB, free: 5.566 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.2886/0.2886, allocations: 34.86 MB / 296.3 MB, free: 0.5312 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 378.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.725e-05, allocations: 4.703 kB / 378.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003058/0.003095, allocations: 1.75 MB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.004459, allocations: 1.02 MB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.725e-05/0.004556, allocations: 0 / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.004899, allocations: 47.69 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004192/0.005318, allocations: 103.5 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.005609, allocations: 79.61 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.005826, allocations: 107.6 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.00594, allocations: 11.98 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.00608, allocations: 51.77 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.006171, allocations: 27.91 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.00619, allocations: 4 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.006298, allocations: 39.94 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.006359, allocations: 27.91 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.006401, allocations: 23.92 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.006597, allocations: 103.6 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.0066, allocations: 0 / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.006602, allocations: 0 / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.006607, allocations: 0 / 382.2 MB, free: 14.57 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.0004796/0.007086, allocations: 455.8 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.007126, allocations: 12.03 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.007174, allocations: 8.891 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.00736, allocations: 156.9 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.007381, allocations: 4.375 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.007406, allocations: 8.359 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.007548, allocations: 62.94 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.00756, allocations: 8.172 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.00757, allocations: 384 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.007581, allocations: 11.88 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.739e-05/0.007618, allocations: 11.94 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.007971, allocations: 283.8 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.008094, allocations: 55.16 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.008125, allocations: 11.69 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.008141, allocations: 8 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.008258, allocations: 76.92 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.00826, allocations: 0 / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000408/0.008669, allocations: 161.3 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.008702, allocations: 55.39 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.008844, allocations: 233.9 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.00886, allocations: 29.7 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.008929, allocations: 150.8 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.008959, allocations: 27.78 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.008995, allocations: 31.38 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.009107, allocations: 0.5001 MB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.045e-05/0.009137, allocations: 12 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.009174, allocations: 39.3 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.825e-05/0.009232, allocations: 47.31 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.009234, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001157/0.009349, allocations: 93.5 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.009364, allocations: 8 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.00937, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.009386, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.009467, allocations: 16.03 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.009474, allocations: 4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.009505, allocations: 11.94 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.009512, allocations: 4 kB / 384.8 MB, free: 11.79 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.867e-05/0.009591, allocations: 160.6 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.009611, allocations: 15.89 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.009799, allocations: 103.1 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.009802, allocations: 4 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.009806, allocations: 0 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.009812, allocations: 384 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.01012, allocations: 400.9 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.01013, allocations: 4 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.01016, allocations: 23.86 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01016, allocations: 0 / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.01017, allocations: 0 / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.01018, allocations: 4 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01018, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.01032, allocations: 255.4 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.01033, allocations: 11.91 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01036, allocations: 12.02 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.381e-05/0.0104, allocations: 4 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.01043, allocations: 7.984 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.01044, allocations: 4 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.205e-05/0.01054, allocations: 180.2 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01054, allocations: 0 / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.01072, allocations: 27.92 kB / 386 MB, free: 10.51 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.0009074/0.01162, allocations: 427.3 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.01175, allocations: 59.53 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01176, allocations: 4 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/0.0118, allocations: 31.61 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.01205, allocations: 35.89 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.0124, allocations: 225.9 kB / 386.8 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.01245, allocations: 71.33 kB / 386.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.73e-05/0.01248, allocations: 21.27 kB / 386.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.01252, allocations: 20.62 kB / 386.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01252, allocations: 0 / 386.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of Templates: time 0.003913/0.01643, allocations: 1.864 MB / 388.7 MB, free: 7.855 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.318651335313916]