Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001124/0.001124, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001111/0.001111, allocations: 154.4 kB / 25.61 MB, free: 8.895 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.042/1.042, allocations: 177 MB / 205.9 MB, free: 4.445 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.1566/0.1566, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.26e-05, allocations: 6.969 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002204/0.002226, allocations: 1.77 MB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.003519, allocations: 0.9969 MB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.003662, allocations: 3.938 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.004028, allocations: 107.6 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.004418, allocations: 135.4 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.004682, allocations: 83.66 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.004873, allocations: 131.6 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.004975, allocations: 8 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.803e-05/0.005073, allocations: 71.8 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.005183, allocations: 71.84 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.005201, allocations: 4 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.005307, allocations: 63.8 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.005361, allocations: 31.86 kB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.0054, allocations: 35.84 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.005585, allocations: 123.6 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.005587, allocations: 4 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005589, allocations: 0 / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.005594, allocations: 0 / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004171/0.006011, allocations: 491.4 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.006052, allocations: 8.031 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.006106, allocations: 24.84 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.00627, allocations: 165.2 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.006289, allocations: 4.375 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.006309, allocations: 8.375 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.006427, allocations: 58.94 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.006438, allocations: 8.125 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.006447, allocations: 8.359 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.006454, allocations: 7.938 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.641e-05/0.00649, allocations: 11.98 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.006768, allocations: 276.4 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.006936, allocations: 67.05 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.00696, allocations: 23.67 kB / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.006973, allocations: 0 / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.938e-05/0.007072, allocations: 77.06 kB / 384.9 MB, free: 17.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.007074, allocations: 8 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004925/0.007566, allocations: 217.3 kB / 385.2 MB, free: 17.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.007594, allocations: 55.34 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.007704, allocations: 266.7 kB / 385.5 MB, free: 17.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.007716, allocations: 25.7 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.007762, allocations: 174.8 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.007794, allocations: 39.67 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.007832, allocations: 35.36 kB / 385.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.007897, allocations: 0.5001 MB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.007921, allocations: 19.98 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.007953, allocations: 39.34 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.617e-05/0.008009, allocations: 62.73 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00801, allocations: 0 / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001255/0.008136, allocations: 121.4 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.00815, allocations: 9.547 kB / 386.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008156, allocations: 0 / 386.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.008166, allocations: 0 / 386.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/0.008226, allocations: 23.94 kB / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.008228, allocations: 4.031 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.008261, allocations: 15.94 kB / 386.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.008268, allocations: 4 kB / 386.5 MB, free: 15.98 MB / 314.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 (14): * Single equations (assignments): 14 * 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.312e-05/0.008331, allocations: 162.3 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.008351, allocations: 19.84 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.00851, allocations: 142.6 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.008512, allocations: 0 / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.008516, allocations: 4 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.008521, allocations: 3.984 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.008799, allocations: 429.1 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.008801, allocations: 0 / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.008837, allocations: 27.92 kB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.00884, allocations: 4 kB / 387.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.008847, allocations: 3.984 kB / 387.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.008849, allocations: 4 kB / 387.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.008851, allocations: 0 / 387.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.008992, allocations: 295.1 kB / 387.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.009005, allocations: 11.91 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.009026, allocations: 11.98 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.564e-05/0.009071, allocations: 8.062 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.009103, allocations: 15.92 kB / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.009116, allocations: 4 kB / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.196e-05/0.009178, allocations: 185.4 kB / 387.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009178, allocations: 0 / 387.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000188/0.009366, allocations: 39.86 kB / 387.9 MB, free: 14.56 MB / 314.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 (14): * Single equations (assignments): 12 * 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.0009683/0.01033, allocations: 477.6 kB / 388.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.01046, allocations: 79.56 kB / 388.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01046, allocations: 0 / 388.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/0.0105, allocations: 39.61 kB / 388.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.01074, allocations: 35.92 kB / 388.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.0111, allocations: 296.1 kB / 388.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.01113, allocations: 83.69 kB / 388.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.01118, allocations: 21.12 kB / 388.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.01124, allocations: 94.19 kB / 389 MB, free: 13.57 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01124, allocations: 0 / 389 MB, free: 13.57 MB / 314.7 MB Notification: Performance of Templates: time 0.004246/0.01549, allocations: 2.518 MB / 391.5 MB, free: 11.1 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.416703294031322]