Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001172/0.001172, allocations: 81.81 kB / 21.43 MB, free: 3.066 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.001023/0.001023, allocations: 164.1 kB / 24.82 MB, free: 9.211 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.9975/0.9975, allocations: 177 MB / 205.1 MB, free: 5.031 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.2562/0.2562, allocations: 34.86 MB / 296.6 MB, free: 432 kB / 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.343e-05, allocations: 2.312 kB / 379.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003515/0.003538, allocations: 1.839 MB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.005291, allocations: 1.079 MB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.005395, allocations: 0 / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.005891, allocations: 315 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005024/0.006393, allocations: 259.1 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.006675, allocations: 111.6 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.007038, allocations: 275.2 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.007091, allocations: 5.812 kB / 383.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.007316, allocations: 155.6 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.007568, allocations: 203.6 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.007593, allocations: 8 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.007708, allocations: 51.91 kB / 383.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.007843, allocations: 139.6 kB / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.007931, allocations: 75.64 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.008296, allocations: 274.9 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.0083, allocations: 0 / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.0083, allocations: 0 / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.008307, allocations: 4 kB / 384 MB, free: 12.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008402/0.009147, allocations: 0.7978 MB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.009186, allocations: 8.031 kB / 384.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.207e-05/0.009268, allocations: 56.56 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.009625, allocations: 324.6 kB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.009639, allocations: 384 / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.009653, allocations: 8.375 kB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.009791, allocations: 94.27 kB / 385.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.009798, allocations: 192 / 385.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.009806, allocations: 4.375 kB / 385.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.009814, allocations: 7.938 kB / 385.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.948e-05/0.009853, allocations: 15.92 kB / 385.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.01013, allocations: 220.8 kB / 385.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.01026, allocations: 94.19 kB / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.0103, allocations: 31.3 kB / 385.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.01032, allocations: 4 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.01045, allocations: 108.4 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 7.42e-07/0.01045, allocations: 0 / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002765/0.01073, allocations: 165.2 kB / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.01077, allocations: 77.11 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006234/0.01139, allocations: 0.6975 MB / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.0114, allocations: 29.7 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.01162, allocations: 314.7 kB / 387.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.01167, allocations: 31.73 kB / 387.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.01171, allocations: 35.36 kB / 387.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002442/0.01196, allocations: 0.5703 MB / 387.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.01198, allocations: 15.98 kB / 387.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.827e-05/0.01203, allocations: 53.97 kB / 387.8 MB, free: 8.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.819e-05/0.01211, allocations: 70.62 kB / 387.8 MB, free: 8.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.01211, allocations: 0 / 387.8 MB, free: 8.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001751/0.01229, allocations: 145.8 kB / 388 MB, free: 8.738 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.0123, allocations: 8 kB / 388 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01231, allocations: 0 / 388 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.01232, allocations: 4.062 kB / 388 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.453e-05/0.0124, allocations: 31.92 kB / 388 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.01241, allocations: 3.938 kB / 388 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.01247, allocations: 7.953 kB / 388 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.01248, allocations: 7.984 kB / 388 MB, free: 8.676 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0001006/0.01258, allocations: 162.1 kB / 388.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.01264, allocations: 55.67 kB / 388.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.01293, allocations: 157.9 kB / 388.4 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01294, allocations: 4 kB / 388.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.01294, allocations: 7.984 kB / 388.4 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.01294, allocations: 3.938 kB / 388.4 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.01317, allocations: 233 kB / 388.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01318, allocations: 0 / 388.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.01321, allocations: 15.92 kB / 388.7 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01322, allocations: 0 / 388.7 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.01322, allocations: 8 kB / 388.7 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01323, allocations: 0 / 388.7 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01323, allocations: 0 / 388.7 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.01344, allocations: 215.5 kB / 388.9 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.01351, allocations: 59.66 kB / 388.9 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.01354, allocations: 8.188 kB / 389 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.827e-05/0.0136, allocations: 11.98 kB / 389 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.01363, allocations: 11.92 kB / 389 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.01365, allocations: 8 kB / 389 MB, free: 7.664 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003119/0.01396, allocations: 442.6 kB / 389.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01396, allocations: 0 / 389.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001833/0.01414, allocations: 47.94 kB / 389.5 MB, free: 7.188 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0008532/0.01499, allocations: 374.2 kB / 389.8 MB, free: 6.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.0151, allocations: 63.58 kB / 389.9 MB, free: 6.863 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01511, allocations: 0 / 389.9 MB, free: 6.863 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.01515, allocations: 39.59 kB / 389.9 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.0154, allocations: 86.11 kB / 390 MB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.01604, allocations: 0.6558 MB / 390.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.416e-05/0.01611, allocations: 132.2 kB / 390.8 MB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.481e-05/0.01618, allocations: 34.97 kB / 390.8 MB, free: 5.863 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.01628, allocations: 118.2 kB / 391 MB, free: 5.746 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.01629, allocations: 3.938 kB / 391 MB, free: 5.742 MB / 362.7 MB Notification: Performance of Templates: time 0.006256/0.02254, allocations: 4.351 MB / 395.3 MB, free: 1.461 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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: 2.993105032015592]