Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.0009938/0.0009938, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001362/0.001362, allocations: 168.8 kB / 25 MB, free: 8.336 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 1.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2648/0.2648, allocations: 32.8 MB / 294.6 MB, free: 1.27 MB / 266.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 376.1 MB, free: 4.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.576e-05, allocations: 5.547 kB / 376.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003908/0.003944, allocations: 1.719 MB / 377.8 MB, free: 3.199 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.005386, allocations: 0.9936 MB / 378.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.179e-05/0.005478, allocations: 0 / 378.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.005775, allocations: 71.61 kB / 378.9 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.006087, allocations: 103.5 kB / 379 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.006309, allocations: 75.61 kB / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.006492, allocations: 111.6 kB / 379.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.006535, allocations: 4.234 kB / 379.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.006628, allocations: 63.81 kB / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.006722, allocations: 39.89 kB / 379.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.006739, allocations: 8 kB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.006813, allocations: 27.94 kB / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.77e-05/0.006881, allocations: 31.84 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.006923, allocations: 19.92 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.007085, allocations: 79.73 kB / 379.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.007089, allocations: 0 / 379.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.007091, allocations: 0 / 379.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.007095, allocations: 0 / 379.4 MB, free: 1.574 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004889/0.007584, allocations: 443.9 kB / 379.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.007624, allocations: 12.03 kB / 379.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.007678, allocations: 16.84 kB / 379.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.007855, allocations: 153.1 kB / 380 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.007874, allocations: 8.312 kB / 380 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.007885, allocations: 384 / 380 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.008016, allocations: 58.94 kB / 380.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.008024, allocations: 3.938 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.008033, allocations: 0 / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.008041, allocations: 0 / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.788e-05/0.008079, allocations: 15.92 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.008246, allocations: 136.7 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.008354, allocations: 51.11 kB / 380.3 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.008387, allocations: 19.69 kB / 380.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.008399, allocations: 0 / 380.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.008502, allocations: 65.05 kB / 380.4 MB, free: 488 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.008503, allocations: 0 / 380.4 MB, free: 488 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001988/0.008702, allocations: 89.45 kB / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.008736, allocations: 55.41 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.008869, allocations: 234.4 kB / 380.7 MB, free: 72 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.008881, allocations: 25.7 kB / 380.8 MB, free: 40 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.008945, allocations: 154.9 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.008976, allocations: 15.84 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.009008, allocations: 23.38 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.009127, allocations: 0.4962 MB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.009156, allocations: 11.98 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/0.009185, allocations: 23.38 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.949e-05/0.009235, allocations: 43.55 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.009237, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.143e-05/0.009328, allocations: 77.61 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.009342, allocations: 8 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.009347, allocations: 3.938 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.009362, allocations: 7.984 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-05/0.009432, allocations: 8 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.009437, allocations: 0 / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.009469, allocations: 11.94 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.009474, allocations: 0 / 381.6 MB, free: 15.11 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 (7): * Single equations (assignments): 7 * 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 7.723e-05/0.009551, allocations: 160.6 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.009567, allocations: 11.95 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.009701, allocations: 90.7 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.009702, allocations: 3.938 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.009707, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.00971, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.604e-05/0.009806, allocations: 140.6 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.009807, allocations: 4 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.009829, allocations: 7.984 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009832, allocations: 0 / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.009842, allocations: 4 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.009844, allocations: 3.938 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.009845, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.009986, allocations: 124.3 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.01001, allocations: 7.953 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.01003, allocations: 4 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.973e-05/0.01006, allocations: 8.125 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.0101, allocations: 7.984 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.01012, allocations: 4 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.708e-05/0.0102, allocations: 164.2 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0102, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001583/0.01035, allocations: 27.92 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009004/0.01125, allocations: 383.9 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.01137, allocations: 39.61 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01137, allocations: 0 / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.0114, allocations: 19.69 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.0116, allocations: 39.95 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.01195, allocations: 198.1 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.01216, allocations: 63.34 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.872e-05/0.0122, allocations: 12.48 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.01223, allocations: 16.5 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01223, allocations: 0 / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of Templates: time 0.003691/0.01592, allocations: 1.653 MB / 384.8 MB, free: 11.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.2919441040139645]