Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 168.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9592/0.9592, allocations: 177.1 MB / 206.1 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1549/0.1549, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 377.3 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.793e-05, allocations: 4.828 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.005735/0.005762, allocations: 1.758 MB / 379.1 MB, free: 23.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.007076, allocations: 0.9897 MB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.007165, allocations: 4 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00332/0.01049, allocations: 39.72 kB / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.01085, allocations: 103.5 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.01111, allocations: 75.61 kB / 380.3 MB, free: 22.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.01128, allocations: 115.5 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.01137, allocations: 4 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.483e-05/0.01147, allocations: 55.83 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.01154, allocations: 27.91 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.01156, allocations: 4 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.809e-05/0.01164, allocations: 47.92 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.0117, allocations: 19.92 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.01173, allocations: 23.91 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.01191, allocations: 107.5 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01191, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.01192, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.01192, allocations: 0 / 380.7 MB, free: 22.11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003913/0.01231, allocations: 443.9 kB / 381.1 MB, free: 21.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.01235, allocations: 15.98 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.01239, allocations: 12.84 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.01253, allocations: 149.1 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.01255, allocations: 12.38 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.01256, allocations: 384 / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.01267, allocations: 70.88 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.01268, allocations: 3.938 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-06/0.01268, allocations: 0 / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.01269, allocations: 0 / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.828e-05/0.01272, allocations: 11.98 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.01293, allocations: 260.3 kB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.519e-05/0.01302, allocations: 51.11 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.01304, allocations: 23.67 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.01305, allocations: 0 / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.226e-05/0.01313, allocations: 72.97 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.01313, allocations: 0 / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.003375/0.01651, allocations: 129.5 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.01653, allocations: 51.41 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.01664, allocations: 233.8 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.01666, allocations: 33.64 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.0167, allocations: 146.8 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.01673, allocations: 27.78 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.01677, allocations: 35.36 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.656e-05/0.01683, allocations: 0.4962 MB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.01685, allocations: 11.94 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.01688, allocations: 27.36 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/0.01693, allocations: 51.34 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01693, allocations: 0 / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000112/0.01704, allocations: 85.47 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.01705, allocations: 8 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01706, allocations: 4.031 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.01707, allocations: 0 / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.065e-05/0.01715, allocations: 19.98 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.01715, allocations: 4 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.764e-05/0.01719, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.0172, allocations: 7.938 kB / 383.2 MB, free: 19.44 MB / 314.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.496e-05/0.01726, allocations: 160.6 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.01729, allocations: 15.84 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.01748, allocations: 107.6 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01749, allocations: 4 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01749, allocations: 4 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01749, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.01776, allocations: 365.6 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01776, allocations: 4 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.01779, allocations: 8 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.0178, allocations: 0 / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.0178, allocations: 8 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01781, allocations: 0 / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01781, allocations: 0 / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.01792, allocations: 251.7 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.01794, allocations: 19.95 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.01796, allocations: 4 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.065e-05/0.01802, allocations: 4 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.01804, allocations: 7.984 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.01805, allocations: 4 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.073e-05/0.01812, allocations: 167.1 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01812, allocations: 0 / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.01836, allocations: 31.92 kB / 384.3 MB, free: 18.21 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: 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.00116/0.01952, allocations: 427.6 kB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.01963, allocations: 59.53 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01963, allocations: 0 / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.01966, allocations: 23.67 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01988, allocations: 39.91 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.02021, allocations: 219.8 kB / 385.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.153e-05/0.02024, allocations: 71.19 kB / 385.1 MB, free: 17.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.809e-05/0.02028, allocations: 21.09 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.02034, allocations: 94.17 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02034, allocations: 0 / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of Templates: time 0.003542/0.02388, allocations: 2.059 MB / 387.3 MB, free: 15.37 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.324894620105624]