Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.001387/0.001387, allocations: 95.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.001516/0.001516, allocations: 160.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 0.9624/0.9624, allocations: 177 MB / 204.8 MB, free: 5.242 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.2704/0.2704, allocations: 34.86 MB / 296.3 MB, free: 0.5195 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 3.938 kB / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.669e-05, allocations: 2.312 kB / 378.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002467/0.002484, allocations: 1.841 MB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.003978, allocations: 1.101 MB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.004056, allocations: 3.938 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004822/0.004538, allocations: 307.1 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006561/0.005195, allocations: 263 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.005398, allocations: 111.6 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.005674, allocations: 275.2 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.005715, allocations: 5.812 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.005877, allocations: 151.6 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.006078, allocations: 203.6 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.006101, allocations: 8 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.006193, allocations: 47.92 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.006315, allocations: 147.5 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.367e-05/0.006398, allocations: 71.66 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.006706, allocations: 275 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.006708, allocations: 3.938 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006709, allocations: 0 / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.006713, allocations: 4 kB / 383.6 MB, free: 13.22 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.0007559/0.007469, allocations: 0.7978 MB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.007505, allocations: 12.03 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.811e-05/0.007583, allocations: 60.55 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.007947, allocations: 324.7 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.007965, allocations: 4.375 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.007979, allocations: 384 / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.008136, allocations: 98.28 kB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.008147, allocations: 4.125 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.008157, allocations: 4.375 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.008166, allocations: 7.938 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.06e-05/0.008216, allocations: 15.98 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.008527, allocations: 316.2 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.00868, allocations: 94.16 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.008729, allocations: 35.36 kB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.008745, allocations: 4 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.00888, allocations: 112.3 kB / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.008881, allocations: 0 / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000293/0.009174, allocations: 181.2 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.009212, allocations: 88.98 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006348/0.009847, allocations: 0.7135 MB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.009863, allocations: 25.7 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.01004, allocations: 306.8 kB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.01008, allocations: 35.72 kB / 386.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.01012, allocations: 35.36 kB / 386.9 MB, free: 9.738 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.0103, allocations: 0.5626 MB / 387.4 MB, free: 9.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/0.01034, allocations: 19.98 kB / 387.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.01039, allocations: 62.11 kB / 387.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.342e-05/0.01049, allocations: 74.67 kB / 387.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01049, allocations: 0 / 387.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001811/0.01067, allocations: 149.2 kB / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.01068, allocations: 8 kB / 387.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01069, allocations: 4.062 kB / 387.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.0107, allocations: 3.984 kB / 387.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.01079, allocations: 23.94 kB / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.0108, allocations: 0 / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.01086, allocations: 16.56 kB / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.01087, allocations: 4 kB / 387.8 MB, free: 8.77 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 9.717e-05/0.01097, allocations: 170 kB / 387.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.01102, allocations: 51.67 kB / 388 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.01124, allocations: 173.8 kB / 388.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01125, allocations: 7.984 kB / 388.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01125, allocations: 7.938 kB / 388.2 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01126, allocations: 0 / 388.2 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.01151, allocations: 316.4 kB / 388.5 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01152, allocations: 0 / 388.5 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.01155, allocations: 8 kB / 388.5 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.01155, allocations: 4 kB / 388.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.01156, allocations: 4 kB / 388.5 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01156, allocations: 0 / 388.5 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01156, allocations: 4 kB / 388.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.01177, allocations: 219.5 kB / 388.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.445e-05/0.01185, allocations: 63.66 kB / 388.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.01188, allocations: 8 kB / 388.8 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.01193, allocations: 7.984 kB / 388.8 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.01197, allocations: 11.92 kB / 388.8 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.01199, allocations: 8 kB / 388.8 MB, free: 7.648 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006427/0.01263, allocations: 486.7 kB / 389.3 MB, free: 7.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01263, allocations: 0 / 389.3 MB, free: 7.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.01288, allocations: 44 kB / 389.3 MB, free: 7.133 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.0008901/0.01377, allocations: 378.2 kB / 389.7 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.01391, allocations: 75.52 kB / 389.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01391, allocations: 0 / 389.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.681e-05/0.01397, allocations: 43.98 kB / 389.8 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.01431, allocations: 87.28 kB / 389.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000769/0.01508, allocations: 0.6713 MB / 390.6 MB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.035e-05/0.01517, allocations: 128.2 kB / 390.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.416e-05/0.01524, allocations: 34.97 kB / 390.7 MB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.0153, allocations: 36.48 kB / 390.8 MB, free: 5.738 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0153, allocations: 0 / 390.8 MB, free: 5.738 MB / 362.7 MB Notification: Performance of Templates: time 0.006893/0.02219, allocations: 4.062 MB / 394.8 MB, free: 1.707 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.4753560489043593]