Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001665/0.001665, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002066/0.002066, allocations: 215.1 kB / 24.48 MB, free: 3.84 MB / 14.72 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.543/1.543, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2502/0.2502, allocations: 44.93 MB / 359.6 MB, free: 6.137 MB / 286.1 MB " [Timeout remaining time 179] 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003019/0.003019, allocations: 63.91 kB / 0.4943 GB, free: 10.49 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4142, allocations: 65.45 MB / 0.5582 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00427/0.4184, allocations: 1.71 MB / 0.5599 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.4205, allocations: 0.9746 MB / 0.5609 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.4206, allocations: 7.875 kB / 0.5609 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.421, allocations: 56.34 kB / 0.5609 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004691/0.4214, allocations: 101.1 kB / 0.561 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.4217, allocations: 80.92 kB / 0.5611 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.4219, allocations: 100.4 kB / 0.5612 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.422, allocations: 13.95 kB / 0.5612 GB, free: 33.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.594e-05/0.4221, allocations: 46.75 kB / 0.5613 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.903e-05/0.4222, allocations: 35.27 kB / 0.5613 GB, free: 33.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.4222, allocations: 3.281 kB / 0.5613 GB, free: 33.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.4223, allocations: 39.14 kB / 0.5613 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.4224, allocations: 38.88 kB / 0.5614 GB, free: 33.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.4225, allocations: 31.56 kB / 0.5614 GB, free: 33.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.4227, allocations: 139.8 kB / 0.5615 GB, free: 33.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4227, allocations: 0 / 0.5615 GB, free: 33.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4227, allocations: 3.281 kB / 0.5615 GB, free: 33.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.4227, allocations: 1.219 kB / 0.5615 GB, free: 33.12 MB / 446.1 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.0006046/0.4233, allocations: 383.5 kB / 0.5619 GB, free: 32.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.4234, allocations: 9.156 kB / 0.5619 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.4234, allocations: 15.34 kB / 0.5619 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.4237, allocations: 173.8 kB / 0.5621 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4237, allocations: 7.625 kB / 0.5621 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.4237, allocations: 4.125 kB / 0.5621 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.4239, allocations: 54.2 kB / 0.5621 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4239, allocations: 1.625 kB / 0.5621 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4239, allocations: 3.344 kB / 0.5622 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.4239, allocations: 0 / 0.5622 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.424, allocations: 30.88 kB / 0.5622 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.4243, allocations: 241.7 kB / 0.5624 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.4245, allocations: 59.45 kB / 0.5625 GB, free: 32.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.4245, allocations: 19.92 kB / 0.5625 GB, free: 32.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.4245, allocations: 3.188 kB / 0.5625 GB, free: 32.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.4247, allocations: 70.42 kB / 0.5626 GB, free: 32.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.4247, allocations: 0.5312 kB / 0.5626 GB, free: 32.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005229/0.4252, allocations: 193.4 kB / 0.5627 GB, free: 32.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.4252, allocations: 55.5 kB / 0.5628 GB, free: 32.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.4255, allocations: 288.1 kB / 0.5631 GB, free: 31.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.4255, allocations: 25.7 kB / 0.5631 GB, free: 31.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.4255, allocations: 123.7 kB / 0.5632 GB, free: 31.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.4255, allocations: 22.27 kB / 0.5632 GB, free: 31.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.4256, allocations: 23.88 kB / 0.5633 GB, free: 31.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.4256, allocations: 334.5 kB / 0.5636 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.4257, allocations: 23.05 kB / 0.5636 GB, free: 31.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.703e-05/0.4258, allocations: 39.03 kB / 0.5636 GB, free: 31.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.4259, allocations: 64.12 kB / 0.5637 GB, free: 31.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4259, allocations: 0 / 0.5637 GB, free: 31.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001708/0.426, allocations: 115 kB / 0.5638 GB, free: 31.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.426, allocations: 10.12 kB / 0.5638 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4261, allocations: 0 / 0.5638 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4261, allocations: 2.688 kB / 0.5638 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.4262, allocations: 17.83 kB / 0.5638 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4262, allocations: 8.078 kB / 0.5638 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.4262, allocations: 3 kB / 0.5638 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.4262, allocations: 3.406 kB / 0.5638 GB, free: 31.24 MB / 446.1 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 8.129e-05/0.4263, allocations: 138.4 kB / 0.564 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.4263, allocations: 24.53 kB / 0.564 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.4266, allocations: 125.2 kB / 0.5641 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4266, allocations: 4.594 kB / 0.5641 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4266, allocations: 4 kB / 0.5641 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4266, allocations: 1.188 kB / 0.5641 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.427, allocations: 363.6 kB / 0.5645 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.427, allocations: 3.625 kB / 0.5645 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.427, allocations: 16.48 kB / 0.5645 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.427, allocations: 1.312 kB / 0.5645 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.427, allocations: 1.312 kB / 0.5645 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.427, allocations: 1.406 kB / 0.5645 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.427, allocations: 3.938 kB / 0.5645 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.4273, allocations: 219.7 kB / 0.5647 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.4273, allocations: 19.62 kB / 0.5647 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.4273, allocations: 2.375 kB / 0.5647 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.4274, allocations: 5.766 kB / 0.5647 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.4274, allocations: 11.62 kB / 0.5648 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.4274, allocations: 6.234 kB / 0.5648 GB, free: 30.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.4276, allocations: 218.1 kB / 0.565 GB, free: 30.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4276, allocations: 0 / 0.565 GB, free: 30.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.4279, allocations: 25.45 kB / 0.565 GB, free: 30.41 MB / 446.1 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.001738/0.4296, allocations: 499.7 kB / 0.5655 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.4298, allocations: 60.64 kB / 0.5655 GB, free: 30.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4298, allocations: 0 / 0.5655 GB, free: 30.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/0.4299, allocations: 31.02 kB / 0.5656 GB, free: 30.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.4302, allocations: 29.25 kB / 0.5656 GB, free: 30.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/0.4308, allocations: 350.2 kB / 0.5659 GB, free: 29.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.031e-05/0.4308, allocations: 109.3 kB / 0.566 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.4309, allocations: 18.25 kB / 0.566 GB, free: 29.85 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4309, allocations: 0 / 0.566 GB, free: 29.85 MB / 446.1 MB Notification: Performance of Templates: time 0.004404/0.4353, allocations: 2.199 MB / 0.5682 GB, free: 29.57 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.116429853718728]