Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.001424/0.001424, allocations: 91.5 kB / 21.2 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.001675/0.001675, allocations: 156.5 kB / 24.55 MB, free: 20 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 1.046/1.046, allocations: 177 MB / 204.8 MB, free: 5.609 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.2691/0.2691, allocations: 34.86 MB / 296.3 MB, free: 0.5352 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.797e-05, allocations: 2.312 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002814/0.002842, allocations: 1.759 MB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004557/0.007399, allocations: 1.016 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.007502, allocations: 0 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.00786, allocations: 83.64 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.008225, allocations: 115.5 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.00847, allocations: 87.53 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.008657, allocations: 123.6 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/0.008746, allocations: 4 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.008848, allocations: 71.73 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.008953, allocations: 55.88 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.008971, allocations: 4 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-05/0.009069, allocations: 43.92 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.009126, allocations: 23.92 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.009171, allocations: 27.84 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003231/0.0124, allocations: 103.6 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.0124, allocations: 0 / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.0124, allocations: 4 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.01241, allocations: 0 / 382.4 MB, free: 14.46 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.0005007/0.01291, allocations: 455.8 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.01295, allocations: 11.97 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.01301, allocations: 20.84 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.0132, allocations: 152.4 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.01321, allocations: 384 / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.01324, allocations: 8.328 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.01338, allocations: 66.88 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.01339, allocations: 4.188 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.0134, allocations: 4.375 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.01341, allocations: 3.938 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.114e-05/0.01345, allocations: 19.97 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.01377, allocations: 283.8 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.01389, allocations: 55.11 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.01393, allocations: 15.69 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.01394, allocations: 0 / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.01405, allocations: 72.98 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.01405, allocations: 0 / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004423/0.01449, allocations: 165.3 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.01453, allocations: 51.41 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.01469, allocations: 242.7 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.01471, allocations: 29.7 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.01478, allocations: 154.9 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.01481, allocations: 31.73 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.01485, allocations: 27.38 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.01498, allocations: 0.4962 MB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/0.01502, allocations: 19.98 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.046e-05/0.01506, allocations: 27.31 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.01815, allocations: 63.34 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01815, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001386/0.01829, allocations: 89.52 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.0183, allocations: 6.656 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01831, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.01832, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.01841, allocations: 15.98 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01841, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.01845, allocations: 8 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.01846, allocations: 7.969 kB / 384.9 MB, free: 11.67 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 8.714e-05/0.01854, allocations: 171 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.01857, allocations: 19.84 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.01874, allocations: 107.1 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.01874, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.01874, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01875, allocations: 384 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.01909, allocations: 400.9 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.0191, allocations: 4 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.01913, allocations: 16.02 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01913, allocations: 4 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.01914, allocations: 0 / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01914, allocations: 0 / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01914, allocations: 0 / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.01932, allocations: 267.6 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.01933, allocations: 7.953 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.01935, allocations: 4 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.157e-05/0.01941, allocations: 7.984 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.01944, allocations: 0 / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.01946, allocations: 4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000106/0.01956, allocations: 189 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01956, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00025/0.01981, allocations: 27.94 kB / 386.1 MB, free: 10.38 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.001079/0.02089, allocations: 431.3 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002966/0.02386, allocations: 51.55 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.02386, allocations: 0 / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.762e-05/0.02391, allocations: 31.67 kB / 386.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.02416, allocations: 35.61 kB / 386.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.02453, allocations: 240.5 kB / 386.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.28e-05/0.02457, allocations: 75.27 kB / 387 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.961e-05/0.02461, allocations: 25.25 kB / 387 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.02464, allocations: 20.5 kB / 387 MB, free: 9.559 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02464, allocations: 0 / 387 MB, free: 9.559 MB / 362.7 MB Notification: Performance of Templates: time 0.003602/0.02824, allocations: 1.877 MB / 388.9 MB, free: 7.707 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.3895172541961074]