Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.001833/0.001833, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001959/0.001959, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.506/1.506, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3494/0.3494, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.791e-05/3.969e-05, allocations: 2.312 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003857/0.003897, allocations: 1.712 MB / 379 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003012/0.006909, allocations: 1.679 MB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.006985, allocations: 0 / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.007305, allocations: 51.64 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.007705, allocations: 99.47 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.007977, allocations: 83.59 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.008183, allocations: 107.6 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.008296, allocations: 11.98 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.008426, allocations: 55.78 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.008566, allocations: 35.89 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.008591, allocations: 4 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.008804, allocations: 103.9 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.008874, allocations: 19.91 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.008937, allocations: 27.92 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.009303, allocations: 183.3 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.009308, allocations: 0 / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009309, allocations: 0 / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.009314, allocations: 0 / 381.5 MB, free: 14.63 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.0006587/0.009972, allocations: 345.5 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.01001, allocations: 15.97 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.01007, allocations: 8.891 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.01043, allocations: 150.2 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.01045, allocations: 8.312 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.01048, allocations: 8.359 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.01071, allocations: 101.6 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.01072, allocations: 3.938 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.01074, allocations: 8 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.01075, allocations: 0 / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.697e-05/0.01084, allocations: 19.98 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.01125, allocations: 228.6 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.01145, allocations: 58.61 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/0.01152, allocations: 28.78 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.01154, allocations: 0 / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.01172, allocations: 67.39 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.123e-06/0.01172, allocations: 0 / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009479/0.01267, allocations: 181.3 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.01274, allocations: 81.11 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.01297, allocations: 178.2 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.013, allocations: 29.7 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/0.01309, allocations: 96.12 kB / 383 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.01312, allocations: 27.78 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.01318, allocations: 25.72 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.01336, allocations: 326.8 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.916e-05/0.01343, allocations: 19.98 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.01354, allocations: 64.27 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.01368, allocations: 69.62 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01368, allocations: 3.938 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002314/0.01391, allocations: 105.6 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.01393, allocations: 4 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01393, allocations: 4.062 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.01396, allocations: 3.984 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.01407, allocations: 19.94 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01408, allocations: 160 / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.534e-05/0.01413, allocations: 4 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.01415, allocations: 11.92 kB / 383.7 MB, free: 12.15 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 0.0001433/0.01429, allocations: 128 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.01432, allocations: 11.95 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.01462, allocations: 118.8 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01462, allocations: 8 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01462, allocations: 0 / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01463, allocations: 0 / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.01519, allocations: 350.9 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01519, allocations: 0 / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.01523, allocations: 11.98 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.01524, allocations: 4 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.01525, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01525, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01525, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.01558, allocations: 228.2 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.01561, allocations: 11.94 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.01563, allocations: 0 / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.01571, allocations: 4 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.01576, allocations: 11.92 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.01578, allocations: 4 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.01594, allocations: 131.2 kB / 384.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01594, allocations: 0 / 384.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003421/0.01628, allocations: 51.86 kB / 384.8 MB, free: 11.03 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.00264/0.01892, allocations: 0.5827 MB / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.01914, allocations: 59.91 kB / 385.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01914, allocations: 4 kB / 385.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.01922, allocations: 27.92 kB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.0196, allocations: 32.09 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.02016, allocations: 217.4 kB / 385.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.02027, allocations: 89.44 kB / 385.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.569e-05/0.02034, allocations: 13.28 kB / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.0204, allocations: 24.48 kB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0204, allocations: 0 / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of Templates: time 0.006663/0.02706, allocations: 2.534 MB / 388.3 MB, free: 7.625 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.930095636053011]