Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 105.4 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 218.2 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2682/0.2682, allocations: 46.91 MB / 359.4 MB, free: 4.855 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 87.84 kB / 0.4947 GB, free: 8.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4123, allocations: 65.97 MB / 0.5592 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003729/0.4161, allocations: 1.745 MB / 0.5609 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.4181, allocations: 1.049 MB / 0.5619 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.688e-05/0.4182, allocations: 3.938 kB / 0.5619 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.4185, allocations: 55.75 kB / 0.5619 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.4189, allocations: 99.59 kB / 0.562 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.4191, allocations: 79.61 kB / 0.5621 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.4193, allocations: 103.8 kB / 0.5622 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.4194, allocations: 7.984 kB / 0.5622 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.4195, allocations: 39.8 kB / 0.5623 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.4196, allocations: 43.7 kB / 0.5623 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.4197, allocations: 4 kB / 0.5623 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.4198, allocations: 43.98 kB / 0.5624 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.641e-05/0.4198, allocations: 23.92 kB / 0.5624 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.786e-05/0.4199, allocations: 47.61 kB / 0.5624 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.4202, allocations: 141.8 kB / 0.5626 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4202, allocations: 3.984 kB / 0.5626 GB, free: 1.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4202, allocations: 0 / 0.5626 GB, free: 1.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.4202, allocations: 0 / 0.5626 GB, free: 1.547 MB / 398.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.000683/0.4209, allocations: 450.3 kB / 0.563 GB, free: 1.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4209, allocations: 12.03 kB / 0.563 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.421, allocations: 16.84 kB / 0.563 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.4213, allocations: 225 kB / 0.5632 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.4213, allocations: 4.375 kB / 0.5632 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.4214, allocations: 384 / 0.5632 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.4215, allocations: 57.98 kB / 0.5633 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4215, allocations: 0 / 0.5633 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4215, allocations: 3.984 kB / 0.5633 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.4216, allocations: 4 kB / 0.5633 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.4216, allocations: 19.94 kB / 0.5633 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.4221, allocations: 304.8 kB / 0.5636 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.4223, allocations: 58.66 kB / 0.5637 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/0.4223, allocations: 20.84 kB / 0.5637 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.4224, allocations: 4 kB / 0.5637 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.4225, allocations: 71.33 kB / 0.5638 GB, free: 156 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.4225, allocations: 3.938 kB / 0.5638 GB, free: 152 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007028/0.4232, allocations: 181.4 kB / 0.5639 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.4233, allocations: 55.39 kB / 0.564 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.4236, allocations: 270.8 kB / 0.5642 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.4236, allocations: 33.7 kB / 0.5643 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.4237, allocations: 112.1 kB / 0.5644 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.4237, allocations: 35.77 kB / 0.5644 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.4238, allocations: 17.72 kB / 0.5644 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4239, allocations: 334.6 kB / 0.5648 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.849e-05/0.424, allocations: 15.98 kB / 0.5648 GB, free: 15.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.4241, allocations: 37.7 kB / 0.5648 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.4242, allocations: 65.64 kB / 0.5649 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4242, allocations: 4 kB / 0.5649 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.4244, allocations: 101.6 kB / 0.565 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4244, allocations: 4 kB / 0.565 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.4244, allocations: 4.078 kB / 0.565 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4244, allocations: 3.938 kB / 0.565 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.96e-05/0.4245, allocations: 19.98 kB / 0.565 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4245, allocations: 3.984 kB / 0.565 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.4246, allocations: 4 kB / 0.565 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.4246, allocations: 4 kB / 0.565 GB, free: 14.79 MB / 414.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 0.0001297/0.4247, allocations: 145 kB / 0.5651 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.4248, allocations: 15.91 kB / 0.5652 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.425, allocations: 123 kB / 0.5653 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.425, allocations: 0 / 0.5653 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.425, allocations: 4 kB / 0.5653 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.425, allocations: 3.984 kB / 0.5653 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005106/0.4255, allocations: 403.3 kB / 0.5657 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4255, allocations: 4.359 kB / 0.5657 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.4256, allocations: 8 kB / 0.5657 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4256, allocations: 0 / 0.5657 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.4256, allocations: 8 kB / 0.5657 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4256, allocations: 3.938 kB / 0.5657 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4256, allocations: 0 / 0.5657 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.4259, allocations: 216.2 kB / 0.5659 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.4259, allocations: 93 kB / 0.566 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.426, allocations: 192 / 0.566 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.426, allocations: 7.938 kB / 0.566 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.4261, allocations: 11.92 kB / 0.566 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.4261, allocations: 4 kB / 0.566 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.4263, allocations: 200.6 kB / 0.5662 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4263, allocations: 0 / 0.5662 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.4266, allocations: 27.92 kB / 0.5662 GB, free: 13.43 MB / 414.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 (8): * Single equations (assignments): 6 * 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.001764/0.4284, allocations: 460.7 kB / 0.5667 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.4286, allocations: 55.91 kB / 0.5667 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4286, allocations: 4.062 kB / 0.5667 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.4287, allocations: 27.92 kB / 0.5668 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.4291, allocations: 30.72 kB / 0.5668 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.4297, allocations: 307.5 kB / 0.5671 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.4301, allocations: 0.7196 MB / 0.5678 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.695e-05/0.4301, allocations: 20.92 kB / 0.5678 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.4302, allocations: 15.44 kB / 0.5678 GB, free: 11.91 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4302, allocations: 4 kB / 0.5678 GB, free: 11.91 MB / 414.1 MB Notification: Performance of Templates: time 0.005544/0.4357, allocations: 1.8 MB / 0.5696 GB, free: 10.13 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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: 5.396452319808304]