Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.001015/0.001015, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001086/0.001086, allocations: 162.2 kB / 24.99 MB, free: 8.801 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 0.9371/0.9371, allocations: 177 MB / 205.2 MB, free: 5.598 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.2656/0.2656, allocations: 34.85 MB / 296.6 MB, free: 0.5742 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.976e-05, allocations: 4.562 kB / 378.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002168/0.002188, allocations: 1.766 MB / 380.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.00372, allocations: 1.725 MB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.003795, allocations: 4 kB / 382.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.004048, allocations: 35.77 kB / 382.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.004324, allocations: 103.4 kB / 382.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.004454, allocations: 79.62 kB / 382.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.004589, allocations: 111.7 kB / 382.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.888e-05/0.004668, allocations: 4 kB / 382.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.576e-05/0.004744, allocations: 63.75 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.03e-05/0.004834, allocations: 35.91 kB / 382.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.004849, allocations: 4 kB / 382.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.004972, allocations: 103.8 kB / 382.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.005017, allocations: 23.84 kB / 382.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.005054, allocations: 23.92 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.005264, allocations: 155.5 kB / 383.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005267, allocations: 0 / 383.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005267, allocations: 4 kB / 383.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.005271, allocations: 0 / 383.1 MB, free: 14.08 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.0004119/0.005683, allocations: 451.8 kB / 383.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.005714, allocations: 12.03 kB / 383.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.005759, allocations: 8.891 kB / 383.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.005926, allocations: 164.9 kB / 383.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.005942, allocations: 384 / 383.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.00596, allocations: 4.375 kB / 383.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.006092, allocations: 108 kB / 383.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.006103, allocations: 7.891 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.006112, allocations: 8 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.006119, allocations: 0 / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.384e-05/0.006152, allocations: 11.98 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.006419, allocations: 283.8 kB / 384.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.213e-05/0.006512, allocations: 47.17 kB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.006542, allocations: 23.61 kB / 384.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.006551, allocations: 0 / 384.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.011e-05/0.006641, allocations: 65.05 kB / 384.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.006642, allocations: 4 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003498/0.006992, allocations: 157.3 kB / 384.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.007029, allocations: 81.05 kB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.007151, allocations: 211.3 kB / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.007165, allocations: 33.7 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.00722, allocations: 142.9 kB / 384.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.007246, allocations: 31.77 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.007277, allocations: 31.38 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.007375, allocations: 0.4922 MB / 385.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.007398, allocations: 11.98 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.225e-05/0.00744, allocations: 72.77 kB / 385.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.77e-05/0.007498, allocations: 55.23 kB / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007499, allocations: 0 / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.7e-05/0.007596, allocations: 89.59 kB / 385.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.007606, allocations: 4 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.00761, allocations: 0 / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.00762, allocations: 0 / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.007685, allocations: 24.3 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.00769, allocations: 0 / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.007718, allocations: 64 / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.007723, allocations: 12 kB / 385.7 MB, free: 11.22 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 6.815e-05/0.007791, allocations: 172.5 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.007806, allocations: 11.95 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.007939, allocations: 98.39 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.007941, allocations: 4 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.007944, allocations: 0 / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.007949, allocations: 3.984 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.008208, allocations: 388.9 kB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008209, allocations: 0 / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.008231, allocations: 16.03 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.008234, allocations: 3.984 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.008242, allocations: 4 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.008244, allocations: 4 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.008246, allocations: 3.938 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.008376, allocations: 251.5 kB / 386.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.008387, allocations: 11.95 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.008404, allocations: 7.938 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.008445, allocations: 7.984 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.008474, allocations: 4 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.008485, allocations: 7.984 kB / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.924e-05/0.008555, allocations: 169.5 kB / 386.8 MB, free: 9.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.008555, allocations: 0 / 386.8 MB, free: 9.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001863/0.008741, allocations: 47.81 kB / 386.9 MB, free: 9.938 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.0009638/0.009705, allocations: 0.5348 MB / 387.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.009815, allocations: 51.59 kB / 387.4 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.009816, allocations: 0 / 387.4 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.009858, allocations: 31.61 kB / 387.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.01008, allocations: 40.09 kB / 387.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.01037, allocations: 197.9 kB / 387.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.169e-05/0.01046, allocations: 67.34 kB / 387.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.817e-05/0.0105, allocations: 12.97 kB / 387.8 MB, free: 9.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.01053, allocations: 16.5 kB / 387.8 MB, free: 9.09 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01053, allocations: 4 kB / 387.8 MB, free: 9.086 MB / 362.7 MB Notification: Performance of Templates: time 0.003623/0.01416, allocations: 2.532 MB / 390.3 MB, free: 6.582 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.1222469790372998]