Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.000894/0.000894, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001194/0.001194, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.9588/0.9588, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 34.25 MB / 296.1 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.032e-05, allocations: 5.516 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003022/0.003052, allocations: 1.638 MB / 326.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007671/0.003819, allocations: 0.5374 MB / 327.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.003879, allocations: 0 / 327.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.004108, allocations: 35.83 kB / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.00441, allocations: 83.56 kB / 327.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.004668, allocations: 115.6 kB / 327.7 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.004791, allocations: 64.41 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.004868, allocations: 8 kB / 327.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.642e-05/0.004924, allocations: 31.89 kB / 327.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.004976, allocations: 19.92 kB / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.004988, allocations: 8 kB / 327.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.999e-05/0.005058, allocations: 28 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.959e-05/0.005098, allocations: 15.92 kB / 327.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.005121, allocations: 15.92 kB / 327.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.005256, allocations: 79.61 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005258, allocations: 0 / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005259, allocations: 0 / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.005262, allocations: 0 / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003088/0.005571, allocations: 293.8 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.005602, allocations: 12.02 kB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.005629, allocations: 4.938 kB / 328.2 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.005747, allocations: 149.2 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.005755, allocations: 384 / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.005775, allocations: 4.375 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.679e-05/0.005862, allocations: 54.7 kB / 328.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.00587, allocations: 3.938 kB / 328.4 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.005876, allocations: 0 / 328.4 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.005882, allocations: 4 kB / 328.4 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.005901, allocations: 7.984 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.006099, allocations: 159.1 kB / 328.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.006228, allocations: 37.39 kB / 328.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/0.006241, allocations: 12.8 kB / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.006257, allocations: 3.938 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.006276, allocations: 34.66 kB / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.006277, allocations: 0 / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002523/0.006529, allocations: 86.02 kB / 328.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.00656, allocations: 55.41 kB / 328.8 MB, free: 3.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.316e-05/0.006653, allocations: 154.8 kB / 329 MB, free: 3.809 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.006662, allocations: 25.7 kB / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.006691, allocations: 92.11 kB / 329.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.006712, allocations: 27.78 kB / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.006738, allocations: 17.7 kB / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.00681, allocations: 318.8 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.006821, allocations: 4 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.265e-05/0.006834, allocations: 11.98 kB / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.006861, allocations: 19.67 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.006862, allocations: 0 / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.477e-05/0.006917, allocations: 57.75 kB / 329.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.006928, allocations: 7.938 kB / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.006932, allocations: 0 / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.006943, allocations: 4 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.006984, allocations: 12 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.006988, allocations: 3.984 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.007003, allocations: 0 / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.007009, allocations: 4.281 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.265e-05/0.007061, allocations: 116.7 kB / 329.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.007078, allocations: 7.938 kB / 329.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.465e-05/0.007172, allocations: 70.06 kB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.007174, allocations: 0 / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.007176, allocations: 0 / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.00718, allocations: 3.984 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.007373, allocations: 206.8 kB / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.007376, allocations: 4 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.00741, allocations: 15.92 kB / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.007412, allocations: 0 / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-06/0.007416, allocations: 0 / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.007417, allocations: 0 / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007418, allocations: 0 / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.495e-05/0.007493, allocations: 151.5 kB / 330.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-06/0.007501, allocations: 11.95 kB / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-06/0.007511, allocations: 256 / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.042e-05/0.007541, allocations: 12 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.007562, allocations: 3.984 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.007565, allocations: 0 / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.633e-05/0.007601, allocations: 46.7 kB / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007601, allocations: 0 / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001318/0.007733, allocations: 15.98 kB / 330.2 MB, free: 2.469 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001024/0.008757, allocations: 0.4971 MB / 330.7 MB, free: 2.234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.595e-05/0.008833, allocations: 24.78 kB / 330.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.008836, allocations: 4 kB / 330.8 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.008856, allocations: 20.84 kB / 330.8 MB, free: 2.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.009011, allocations: 15.94 kB / 330.8 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.009292, allocations: 190.7 kB / 331 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.774e-05/0.00933, allocations: 67.34 kB / 331 MB, free: 1.863 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.009361, allocations: 15.97 kB / 331.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.009411, allocations: 55.38 kB / 331.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009412, allocations: 4 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of Templates: time 0.002995/0.01241, allocations: 1.257 MB / 332.4 MB, free: 0.543 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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: 2.8569162329658866]