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.001412/0.001412, 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.001366/0.001366, allocations: 156.9 kB / 25.61 MB, free: 8.582 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.145/1.145, allocations: 177 MB / 205.9 MB, free: 4.465 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.1971/0.1971, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 179] 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.874e-06/1.874e-06, allocations: 0 / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.751e-05/3.938e-05, allocations: 5.125 kB / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003042/0.003081, allocations: 1.836 MB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.004566, allocations: 1.069 MB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.004688, allocations: 3.938 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004908/0.005179, allocations: 307.1 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.005578, allocations: 267 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.005806, allocations: 111.6 kB / 383.7 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.006109, allocations: 271.2 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.016e-05/0.006169, allocations: 9.812 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.006343, allocations: 155.6 kB / 384.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.006539, allocations: 203.6 kB / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.006564, allocations: 8 kB / 384.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.006667, allocations: 51.91 kB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.006794, allocations: 143.5 kB / 384.5 MB, free: 18.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.997e-05/0.006874, allocations: 75.64 kB / 384.6 MB, free: 18.19 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.007186, allocations: 275 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.007189, allocations: 0 / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.007191, allocations: 0 / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.007198, allocations: 0 / 384.8 MB, free: 17.92 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007597/0.007958, allocations: 0.794 MB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.00801, allocations: 12.02 kB / 385.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.647e-05/0.008086, allocations: 56.56 kB / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.00839, allocations: 320.6 kB / 386 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.008412, allocations: 4.375 kB / 386 MB, free: 16.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.008425, allocations: 4.375 kB / 386 MB, free: 16.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.008557, allocations: 102.2 kB / 386.1 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.008567, allocations: 192 / 386.1 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.008575, allocations: 384 / 386.1 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.008584, allocations: 7.938 kB / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.008619, allocations: 15.98 kB / 386.1 MB, free: 16.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.008838, allocations: 216.9 kB / 386.3 MB, free: 16.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.008967, allocations: 94.14 kB / 386.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.008999, allocations: 31.36 kB / 386.5 MB, free: 16.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.009014, allocations: 0 / 386.5 MB, free: 16.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.009142, allocations: 108.3 kB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.009144, allocations: 4 kB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002636/0.009407, allocations: 165.2 kB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.009443, allocations: 85.09 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.009832, allocations: 0.6936 MB / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.009846, allocations: 29.7 kB / 387.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.009969, allocations: 310.7 kB / 387.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.01, allocations: 27.83 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.01005, allocations: 39.36 kB / 387.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.01017, allocations: 0.5664 MB / 388.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.01019, allocations: 11.98 kB / 388.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.915e-05/0.01023, allocations: 62.66 kB / 388.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.668e-05/0.0103, allocations: 67.23 kB / 388.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.0103, allocations: 0 / 388.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001449/0.01044, allocations: 145.2 kB / 388.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.01046, allocations: 10.97 kB / 388.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01047, allocations: 0 / 388.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.01048, allocations: 0 / 388.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.49e-05/0.01056, allocations: 32.05 kB / 388.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01057, allocations: 7.875 kB / 388.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.528e-05/0.01063, allocations: 15.88 kB / 388.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.01063, allocations: 4 kB / 388.8 MB, free: 13.63 MB / 314.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.137e-05/0.01073, allocations: 170 kB / 389 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.01077, allocations: 59.67 kB / 389.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.01094, allocations: 161.8 kB / 389.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01094, allocations: 4 kB / 389.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01095, allocations: 0 / 389.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.01095, allocations: 3.938 kB / 389.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.01111, allocations: 233 kB / 389.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01111, allocations: 0 / 389.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.01114, allocations: 12.25 kB / 389.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.01114, allocations: 0 / 389.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.01115, allocations: 8 kB / 389.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01115, allocations: 0 / 389.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01115, allocations: 0 / 389.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.0113, allocations: 207.6 kB / 389.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.01134, allocations: 63.55 kB / 389.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.01137, allocations: 4 kB / 389.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.943e-05/0.01141, allocations: 11.98 kB / 389.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.01145, allocations: 7.984 kB / 389.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.01146, allocations: 8 kB / 389.8 MB, free: 12.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002573/0.01172, allocations: 446.6 kB / 390.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01172, allocations: 0 / 390.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001901/0.01191, allocations: 47.94 kB / 390.2 MB, free: 12.15 MB / 314.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.0008798/0.01279, allocations: 382.4 kB / 390.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.01294, allocations: 67.56 kB / 390.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01294, allocations: 0 / 390.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.01299, allocations: 35.61 kB / 390.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.01328, allocations: 74.25 kB / 390.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.01396, allocations: 0.6578 MB / 391.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.517e-05/0.01403, allocations: 136.1 kB / 391.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.531e-05/0.0141, allocations: 39.45 kB / 391.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.01421, allocations: 118.2 kB / 391.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.744e-06/0.01421, allocations: 0 / 391.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of Templates: time 0.006947/0.02116, allocations: 4.429 MB / 396.2 MB, free: 6.355 MB / 314.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.7759440569207072]