Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001474/0.001474, allocations: 107 kB / 19.8 MB, free: 2.5 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.001627/0.001627, allocations: 215.2 kB / 23 MB, free: 5.574 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.529/1.529, allocations: 230.2 MB / 256.2 MB, free: 8.531 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.2568/0.2568, allocations: 46.91 MB / 359.4 MB, free: 4.836 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 79.88 kB / 0.4947 GB, free: 8.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4067, allocations: 65.99 MB / 0.5592 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003366/0.41, allocations: 1.755 MB / 0.5609 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.4119, allocations: 1.053 MB / 0.5619 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.67e-05/0.412, allocations: 0 / 0.5619 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.4124, allocations: 91.67 kB / 0.562 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004247/0.4129, allocations: 115.6 kB / 0.5621 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.4131, allocations: 75.67 kB / 0.5622 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.4134, allocations: 131.6 kB / 0.5623 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.4135, allocations: 11.98 kB / 0.5623 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.4136, allocations: 55.77 kB / 0.5624 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.4138, allocations: 71.67 kB / 0.5625 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.4138, allocations: 4 kB / 0.5625 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.4139, allocations: 59.98 kB / 0.5625 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.414, allocations: 19.92 kB / 0.5625 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.835e-05/0.4141, allocations: 47.66 kB / 0.5626 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.4144, allocations: 137.8 kB / 0.5627 GB, free: 1.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4144, allocations: 3.938 kB / 0.5627 GB, free: 1.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4144, allocations: 0 / 0.5627 GB, free: 1.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.4144, allocations: 4 kB / 0.5627 GB, free: 1.363 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007829/0.4152, allocations: 445.2 kB / 0.5632 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4153, allocations: 8.031 kB / 0.5632 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.4153, allocations: 16.84 kB / 0.5632 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.4157, allocations: 224.1 kB / 0.5634 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.4157, allocations: 384 / 0.5634 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.4158, allocations: 4.375 kB / 0.5634 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.416, allocations: 73.91 kB / 0.5635 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.416, allocations: 0 / 0.5635 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.416, allocations: 4 kB / 0.5635 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.416, allocations: 0 / 0.5635 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.4161, allocations: 19.98 kB / 0.5635 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.4166, allocations: 304.8 kB / 0.5638 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.4168, allocations: 66.48 kB / 0.5638 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.4169, allocations: 24.97 kB / 0.5639 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.4169, allocations: 0 / 0.5639 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.4171, allocations: 67.39 kB / 0.5639 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.4171, allocations: 0 / 0.5639 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007691/0.4178, allocations: 241.2 kB / 0.5642 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.4179, allocations: 59.41 kB / 0.5642 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.4181, allocations: 228.2 kB / 0.5644 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.4182, allocations: 29.7 kB / 0.5645 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.4182, allocations: 108.1 kB / 0.5646 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.4183, allocations: 31.81 kB / 0.5646 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.4183, allocations: 29.7 kB / 0.5646 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4185, allocations: 326.8 kB / 0.5649 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.4186, allocations: 31.98 kB / 0.565 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.4186, allocations: 49.7 kB / 0.565 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.4188, allocations: 73.7 kB / 0.5651 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4188, allocations: 0 / 0.5651 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002274/0.419, allocations: 133.5 kB / 0.5652 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.419, allocations: 4 kB / 0.5652 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.419, allocations: 0 / 0.5652 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4191, allocations: 4.031 kB / 0.5652 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.429e-05/0.4191, allocations: 35.86 kB / 0.5653 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4191, allocations: 0 / 0.5653 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.4192, allocations: 7.938 kB / 0.5653 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.4192, allocations: 0 / 0.5653 GB, free: 14.53 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 (13): * Single equations (assignments): 13 * 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.0001087/0.4193, allocations: 129.8 kB / 0.5654 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.4193, allocations: 15.91 kB / 0.5654 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.4196, allocations: 155.7 kB / 0.5655 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4196, allocations: 4 kB / 0.5656 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4196, allocations: 4 kB / 0.5656 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4197, allocations: 3.938 kB / 0.5656 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.4202, allocations: 448.2 kB / 0.566 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4202, allocations: 0 / 0.566 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.4202, allocations: 15.94 kB / 0.566 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4202, allocations: 3.938 kB / 0.566 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.4203, allocations: 4 kB / 0.566 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4203, allocations: 4.062 kB / 0.566 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4203, allocations: 0 / 0.566 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.4206, allocations: 241 kB / 0.5662 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.4206, allocations: 96.94 kB / 0.5663 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.4206, allocations: 0 / 0.5663 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.4207, allocations: 15.98 kB / 0.5664 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.4208, allocations: 4 kB / 0.5664 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.4208, allocations: 7.984 kB / 0.5664 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.4209, allocations: 165.2 kB / 0.5665 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4209, allocations: 0 / 0.5665 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.4212, allocations: 27.94 kB / 0.5665 GB, free: 13.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001878/0.4231, allocations: 0.5057 MB / 0.567 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.4233, allocations: 75.84 kB / 0.5671 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4233, allocations: 0 / 0.5671 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.994e-05/0.4234, allocations: 39.92 kB / 0.5672 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.4238, allocations: 35.55 kB / 0.5672 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.4244, allocations: 292.6 kB / 0.5675 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.4248, allocations: 0.7167 MB / 0.5682 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.324e-05/0.4249, allocations: 20.62 kB / 0.5682 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.4249, allocations: 15.44 kB / 0.5682 GB, free: 11.52 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4249, allocations: 0 / 0.5682 GB, free: 11.52 MB / 414.1 MB Notification: Performance of Templates: time 0.005623/0.4305, allocations: 2.036 MB / 0.5702 GB, free: 9.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.395192067138851]