Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001812/0.002982, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009373/0.0009373, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.002312, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9201/0.9201, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1731/1.093, allocations: 52.49 MB / 238.5 MB, free: 7.609 MB / 234.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.1347/0.1347, allocations: 32.8 MB / 272 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02045/0.1551, allocations: 12.53 MB / 284.5 MB, free: 9.703 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 285.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.023e-05, allocations: 5.547 kB / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003375/0.003395, allocations: 1.984 MB / 287.9 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.004948, allocations: 0.9232 MB / 288.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.005052, allocations: 0 / 288.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.005312, allocations: 43.64 kB / 288.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.005517, allocations: 59.58 kB / 288.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.005849, allocations: 131.5 kB / 289.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.006094, allocations: 147.5 kB / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.006213, allocations: 26.27 kB / 289.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.006394, allocations: 92.55 kB / 289.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.006509, allocations: 47.81 kB / 289.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.006536, allocations: 8 kB / 289.4 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.006644, allocations: 47.86 kB / 289.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.006704, allocations: 23.88 kB / 289.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.006756, allocations: 19.94 kB / 289.5 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.006994, allocations: 111.6 kB / 289.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.007006, allocations: 3.938 kB / 289.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.007007, allocations: 4 kB / 289.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.007021, allocations: 4 kB / 289.6 MB, free: 4.633 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006463/0.007667, allocations: 397.4 kB / 290 MB, free: 4.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.007706, allocations: 11.97 kB / 290 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.00776, allocations: 12.92 kB / 290 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.008002, allocations: 161.5 kB / 290.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.008025, allocations: 8.375 kB / 290.2 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.008057, allocations: 16.06 kB / 290.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.008263, allocations: 133.4 kB / 290.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.008272, allocations: 0 / 290.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.008282, allocations: 4 kB / 290.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.008289, allocations: 0 / 290.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.171e-05/0.008341, allocations: 30.73 kB / 290.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.008745, allocations: 378.1 kB / 290.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.008953, allocations: 109.2 kB / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.008987, allocations: 20.84 kB / 290.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.009003, allocations: 4 kB / 290.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.009145, allocations: 91.91 kB / 290.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.009147, allocations: 0 / 290.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001723/0.009319, allocations: 77.59 kB / 291 MB, free: 3.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.009348, allocations: 51.41 kB / 291.1 MB, free: 3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.009497, allocations: 178.5 kB / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.00952, allocations: 29.7 kB / 291.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.009589, allocations: 111.9 kB / 291.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.009613, allocations: 23.86 kB / 291.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.009663, allocations: 41.64 kB / 291.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.009781, allocations: 330.7 kB / 291.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.009816, allocations: 14.81 kB / 291.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.188e-05/0.009868, allocations: 40.28 kB / 291.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.839e-05/0.009956, allocations: 65.86 kB / 291.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.009961, allocations: 4 kB / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001539/0.01012, allocations: 92.36 kB / 292 MB, free: 2.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.01013, allocations: 4 kB / 292 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01014, allocations: 4 kB / 292 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.01015, allocations: 0 / 292 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01026, allocations: 27.92 kB / 292 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01027, allocations: 4 kB / 292 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.01032, allocations: 15.88 kB / 292 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.01033, allocations: 11.92 kB / 292 MB, free: 1.938 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.027e-05/0.01042, allocations: 116.8 kB / 292.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.01045, allocations: 15.92 kB / 292.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.01059, allocations: 75.61 kB / 292.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01059, allocations: 0 / 292.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.01059, allocations: 0 / 292.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.0106, allocations: 3.984 kB / 292.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.01071, allocations: 109.7 kB / 292.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01071, allocations: 0 / 292.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.232e-05/0.01079, allocations: 23.92 kB / 292.4 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.01081, allocations: 7.953 kB / 292.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01081, allocations: 0 / 292.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.01082, allocations: 8 kB / 292.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01082, allocations: 0 / 292.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01082, allocations: 0 / 292.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.011, allocations: 126.6 kB / 292.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.01102, allocations: 0 / 292.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.734e-05/0.01107, allocations: 8 kB / 292.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.0111, allocations: 7.984 kB / 292.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.01111, allocations: 4 kB / 292.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.509e-05/0.01118, allocations: 65.52 kB / 292.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01118, allocations: 0 / 292.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.01138, allocations: 27.95 kB / 292.6 MB, free: 1.293 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001675/0.01305, allocations: 0.5521 MB / 293.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.01318, allocations: 56.7 kB / 293.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.01319, allocations: 0 / 293.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.01325, allocations: 36.78 kB / 293.3 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.01351, allocations: 244.8 kB / 293.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.0142, allocations: 257.6 kB / 293.8 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.472e-05/0.01424, allocations: 71.83 kB / 293.8 MB, free: 276 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.345e-05/0.0143, allocations: 13.14 kB / 293.9 MB, free: 260 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.326e-05/0.01439, allocations: 75.36 kB / 293.9 MB, free: 184 kB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01439, allocations: 0 / 293.9 MB, free: 184 kB / 282.7 MB Notification: Performance of Templates: time 0.004083/0.01847, allocations: 2.232 MB / 296.2 MB, free: 13.99 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8232825519517064]