Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001589/0.001589, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002062/0.002062, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.51/1.51, allocations: 230.5 MB / 257.4 MB, free: 7.82 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.2355/0.2355, allocations: 46.96 MB / 360.8 MB, free: 3.965 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 87.86 kB / 0.4967 GB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3979, allocations: 66.07 MB / 0.5612 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003372/0.4013, allocations: 1.716 MB / 0.5629 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.4041, allocations: 1.664 MB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.4041, allocations: 0 / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.4044, allocations: 35.78 kB / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.4048, allocations: 107.5 kB / 0.5647 GB, free: 472 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.405, allocations: 83.66 kB / 0.5648 GB, free: 388 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.4052, allocations: 111.7 kB / 0.5649 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.4053, allocations: 4 kB / 0.5649 GB, free: 272 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.585e-05/0.4053, allocations: 51.78 kB / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.4055, allocations: 47.7 kB / 0.565 GB, free: 172 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.4055, allocations: 8 kB / 0.565 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.4057, allocations: 103.9 kB / 0.5651 GB, free: 60 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.4058, allocations: 19.92 kB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.4058, allocations: 39.78 kB / 0.5651 GB, free: 0 / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.4061, allocations: 181.7 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4061, allocations: 4 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4061, allocations: 3.938 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.4062, allocations: 0 / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008784/0.407, allocations: 357.4 kB / 0.5656 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4071, allocations: 11.97 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.4071, allocations: 8.891 kB / 0.5657 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.4075, allocations: 154.3 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.4075, allocations: 4.375 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.4075, allocations: 4.312 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.4078, allocations: 121.3 kB / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.4079, allocations: 3.953 kB / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.4079, allocations: 0 / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.4079, allocations: 4 kB / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.408, allocations: 31.97 kB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.4085, allocations: 236.5 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.4088, allocations: 78.55 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.871e-05/0.4088, allocations: 24.84 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.4088, allocations: 4 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.409, allocations: 75.38 kB / 0.5664 GB, free: 14.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.409, allocations: 0 / 0.5664 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006503/0.4097, allocations: 221.6 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.4097, allocations: 77.11 kB / 0.5667 GB, free: 14.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.41, allocations: 178.2 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.41, allocations: 29.7 kB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.4101, allocations: 100.1 kB / 0.567 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.4101, allocations: 31.73 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.4102, allocations: 21.72 kB / 0.567 GB, free: 13.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4103, allocations: 330.8 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.4104, allocations: 31.98 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.4105, allocations: 68.27 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.4107, allocations: 85.66 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4107, allocations: 0 / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002181/0.4109, allocations: 125.5 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.4109, allocations: 6.188 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4109, allocations: 0 / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4109, allocations: 4.062 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.4111, allocations: 19.98 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4111, allocations: 160 / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.531e-05/0.4111, allocations: 8 kB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.4112, allocations: 7.984 kB / 0.5677 GB, free: 13.19 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 (11): * Single equations (assignments): 11 * 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.0001113/0.4113, allocations: 125.7 kB / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.4113, allocations: 11.94 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.4116, allocations: 138.4 kB / 0.5679 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4116, allocations: 0 / 0.5679 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4116, allocations: 7.984 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4116, allocations: 4 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.4122, allocations: 378.8 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4122, allocations: 4 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.4122, allocations: 15.94 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4122, allocations: 0 / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.4122, allocations: 4 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.4122, allocations: 7.984 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4122, allocations: 0 / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.4125, allocations: 224.2 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.4126, allocations: 23.92 kB / 0.5686 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.4126, allocations: 4 kB / 0.5686 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.4127, allocations: 8 kB / 0.5686 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.4127, allocations: 11.92 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.4128, allocations: 4.188 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.4129, allocations: 135.2 kB / 0.5687 GB, free: 12.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4129, allocations: 3.938 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00032/0.4132, allocations: 51.86 kB / 0.5688 GB, free: 11.97 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 (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.002268/0.4155, allocations: 0.5723 MB / 0.5693 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.4157, allocations: 75.84 kB / 0.5694 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4157, allocations: 0 / 0.5694 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.176e-05/0.4158, allocations: 39.92 kB / 0.5694 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.4162, allocations: 42.45 kB / 0.5695 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.4167, allocations: 230.8 kB / 0.5697 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.744e-05/0.4168, allocations: 92.12 kB / 0.5698 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.712e-05/0.4169, allocations: 16.64 kB / 0.5698 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.852e-05/0.4169, allocations: 27.42 kB / 0.5698 GB, free: 11.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4169, allocations: 0 / 0.5698 GB, free: 11.04 MB / 414.1 MB Notification: Performance of Templates: time 0.006633/0.4236, allocations: 2.686 MB / 0.5725 GB, free: 8.375 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.432485004886985]