Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.001112/0.001112, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001111/0.001111, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.033/1.033, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1473/0.1473, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.924e-05, allocations: 6.25 kB / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003058/0.003087, allocations: 1.74 MB / 349.5 MB, free: 7.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.004262, allocations: 0.792 MB / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.004342, allocations: 0 / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.004613, allocations: 43.77 kB / 350.3 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.004798, allocations: 59.69 kB / 350.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.004965, allocations: 87.7 kB / 350.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.005085, allocations: 95.69 kB / 350.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.494e-05/0.00517, allocations: 4.234 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.904e-05/0.005239, allocations: 59.77 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.005297, allocations: 23.91 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.005312, allocations: 4 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.366e-05/0.005376, allocations: 43.91 kB / 350.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.00542, allocations: 27.92 kB / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.005453, allocations: 15.94 kB / 350.7 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.005594, allocations: 103.6 kB / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.005596, allocations: 4 kB / 350.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005597, allocations: 0 / 350.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.005601, allocations: 0 / 350.8 MB, free: 6.594 MB / 282.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.0003324/0.005933, allocations: 447.8 kB / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.005963, allocations: 12.03 kB / 351.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.006002, allocations: 12.84 kB / 351.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.006123, allocations: 149.8 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.00614, allocations: 4.375 kB / 351.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.006156, allocations: 4.375 kB / 351.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.376e-05/0.006249, allocations: 66.94 kB / 351.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.006258, allocations: 3.938 kB / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.006265, allocations: 0 / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.006271, allocations: 0 / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.006302, allocations: 15.92 kB / 351.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.006523, allocations: 287.8 kB / 351.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.473e-05/0.006608, allocations: 47.17 kB / 351.9 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.006634, allocations: 27.61 kB / 351.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.006646, allocations: 7.875 kB / 351.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.41e-05/0.00673, allocations: 69.05 kB / 352 MB, free: 5.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.006731, allocations: 0 / 352 MB, free: 5.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003143/0.007045, allocations: 153.4 kB / 352.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.007064, allocations: 51.41 kB / 352.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.00715, allocations: 240 kB / 352.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.523e-06/0.007156, allocations: 25.7 kB / 352.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.007188, allocations: 150.9 kB / 352.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.007209, allocations: 31.73 kB / 352.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.007235, allocations: 27.38 kB / 352.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.281e-05/0.007278, allocations: 0.5001 MB / 353.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.007298, allocations: 12.38 kB / 353.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.007325, allocations: 35.36 kB / 353.2 MB, free: 4.043 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/0.007368, allocations: 51.25 kB / 353.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007369, allocations: 4 kB / 353.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.894e-05/0.007448, allocations: 93.56 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.007458, allocations: 8 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.007462, allocations: 0 / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.007473, allocations: 0 / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.809e-05/0.007531, allocations: 12 kB / 353.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.007536, allocations: 8.031 kB / 353.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.007561, allocations: 3.984 kB / 353.4 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.007566, allocations: 4 kB / 353.4 MB, free: 3.848 MB / 282.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 4.765e-05/0.007614, allocations: 164.5 kB / 353.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.007627, allocations: 19.84 kB / 353.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.007743, allocations: 103.3 kB / 353.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007745, allocations: 4 kB / 353.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.007748, allocations: 0 / 353.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007752, allocations: 0 / 353.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.007945, allocations: 397 kB / 354 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007946, allocations: 0 / 354 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.007967, allocations: 15.92 kB / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.007968, allocations: 0 / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.007976, allocations: 4 kB / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007977, allocations: 0 / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007978, allocations: 0 / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.048e-05/0.008068, allocations: 263.3 kB / 354.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.008077, allocations: 11.95 kB / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.008091, allocations: 4 kB / 354.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.008128, allocations: 8.016 kB / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.008156, allocations: 4 kB / 354.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.008168, allocations: 11.98 kB / 354.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.681e-05/0.008215, allocations: 167.8 kB / 354.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008215, allocations: 0 / 354.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000161/0.008376, allocations: 27.94 kB / 354.5 MB, free: 2.578 MB / 282.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.0007526/0.009128, allocations: 440.4 kB / 355 MB, free: 2.238 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.37e-05/0.009222, allocations: 55.53 kB / 355 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009224, allocations: 4.062 kB / 355 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.009256, allocations: 35.59 kB / 355.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.009467, allocations: 35.84 kB / 355.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.009737, allocations: 221.4 kB / 355.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.499e-05/0.009762, allocations: 63.34 kB / 355.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.924e-05/0.009791, allocations: 20.47 kB / 355.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.009816, allocations: 12.5 kB / 355.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009816, allocations: 8.062 kB / 355.4 MB, free: 1.734 MB / 282.7 MB Notification: Performance of Templates: time 0.002901/0.01272, allocations: 1.845 MB / 357.3 MB, free: 15.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.25651559792459]