Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.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.001304/0.001304, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001325/0.001325, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.497/1.497, allocations: 230.2 MB / 257.8 MB, free: 8.465 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2268/0.2268, allocations: 46.9 MB / 361.1 MB, free: 4.621 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003272/0.003272, allocations: 79.88 kB / 0.4968 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3691, allocations: 66 MB / 0.5613 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003675/0.3728, allocations: 1.74 MB / 0.563 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3747, allocations: 1.056 MB / 0.564 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.3748, allocations: 0 / 0.564 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.3751, allocations: 47.77 kB / 0.5641 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.3754, allocations: 99.58 kB / 0.5642 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.3756, allocations: 75.69 kB / 0.5642 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.3758, allocations: 115.6 kB / 0.5643 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3759, allocations: 7.984 kB / 0.5643 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.376, allocations: 39.8 kB / 0.5644 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.3761, allocations: 39.83 kB / 0.5644 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3761, allocations: 4 kB / 0.5644 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.513e-05/0.3762, allocations: 39.98 kB / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.3763, allocations: 19.92 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.3764, allocations: 39.69 kB / 0.5645 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.3766, allocations: 138.2 kB / 0.5647 GB, free: 1.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3766, allocations: 4 kB / 0.5647 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3766, allocations: 4 kB / 0.5647 GB, free: 1.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3766, allocations: 0 / 0.5647 GB, free: 1.504 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.0006297/0.3773, allocations: 430.6 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3773, allocations: 8.031 kB / 0.5651 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.3773, allocations: 12.89 kB / 0.5651 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.3777, allocations: 224.8 kB / 0.5653 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3777, allocations: 4.375 kB / 0.5653 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.3777, allocations: 384 / 0.5653 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3778, allocations: 65.92 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.3779, allocations: 7.938 kB / 0.5654 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3779, allocations: 0 / 0.5654 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3779, allocations: 0 / 0.5654 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.311e-05/0.378, allocations: 19.98 kB / 0.5654 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.3784, allocations: 304.8 kB / 0.5657 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.3786, allocations: 58.62 kB / 0.5657 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.3786, allocations: 20.84 kB / 0.5658 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.3786, allocations: 0 / 0.5658 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.3788, allocations: 67.39 kB / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3788, allocations: 0 / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005513/0.3793, allocations: 173.4 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.3794, allocations: 59.41 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.3796, allocations: 235 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3797, allocations: 25.7 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.3797, allocations: 116.1 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3798, allocations: 23.78 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.3798, allocations: 21.72 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.38, allocations: 334.7 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.38, allocations: 23.98 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.3801, allocations: 41.64 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3802, allocations: 65.61 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3802, allocations: 0 / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001907/0.3804, allocations: 101.5 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3804, allocations: 6.188 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3804, allocations: 0 / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3804, allocations: 8.031 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.3805, allocations: 15.98 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.3805, allocations: 0 / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.3806, allocations: 8 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3806, allocations: 0 / 0.567 GB, free: 14.84 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.0001184/0.3807, allocations: 137.7 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.3807, allocations: 15.91 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.381, allocations: 111.1 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.381, allocations: 4 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.381, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.381, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.3815, allocations: 411.2 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3815, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.3815, allocations: 8.375 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3815, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3815, allocations: 7.984 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3815, allocations: 8.25 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3815, allocations: 4.031 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.3818, allocations: 212.2 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.3818, allocations: 89.02 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.3818, allocations: 0 / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.3819, allocations: 11.92 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.382, allocations: 11.98 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.382, allocations: 8 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.3821, allocations: 172.4 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3821, allocations: 0 / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.3824, allocations: 23.94 kB / 0.5682 GB, free: 13.51 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.001707/0.3841, allocations: 467.9 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3843, allocations: 47.98 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3843, allocations: 0 / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.3844, allocations: 27.92 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.3847, allocations: 38.86 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.3852, allocations: 287.1 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3856, allocations: 0.7041 MB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.531e-05/0.3856, allocations: 21.17 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.3857, allocations: 23.42 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3857, allocations: 0 / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of Templates: time 0.005143/0.3908, allocations: 1.776 MB / 0.5715 GB, free: 10.26 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.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.002520577982068]