Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001431/0.001431, 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.002057/0.002057, 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.597/1.597, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2465/0.2465, allocations: 46.9 MB / 361.1 MB, free: 4.633 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [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.002342/0.002342, allocations: 79.88 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3896, allocations: 66 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003513/0.3931, allocations: 1.619 MB / 0.5628 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3943, allocations: 0.5615 MB / 0.5634 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.3944, allocations: 4 kB / 0.5634 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.3946, allocations: 27.84 kB / 0.5634 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.3949, allocations: 75.62 kB / 0.5635 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.3952, allocations: 95.69 kB / 0.5636 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.3953, allocations: 75.75 kB / 0.5636 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3954, allocations: 10.81 kB / 0.5636 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.794e-05/0.3955, allocations: 31.92 kB / 0.5637 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.939e-05/0.3956, allocations: 35.83 kB / 0.5637 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3956, allocations: 4 kB / 0.5637 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.3958, allocations: 99.88 kB / 0.5638 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.3958, allocations: 15.92 kB / 0.5638 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.3959, allocations: 27.8 kB / 0.5638 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.3962, allocations: 155.5 kB / 0.564 GB, free: 2.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3962, allocations: 3.938 kB / 0.564 GB, free: 2.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3962, allocations: 0 / 0.564 GB, free: 2.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3962, allocations: 0 / 0.564 GB, free: 2.18 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.0005597/0.3968, allocations: 418.7 kB / 0.5644 GB, free: 1.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3968, allocations: 12.03 kB / 0.5644 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.3969, allocations: 12.89 kB / 0.5644 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.3972, allocations: 188.3 kB / 0.5646 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.3972, allocations: 384 / 0.5646 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3972, allocations: 8.312 kB / 0.5646 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.3974, allocations: 67.95 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.3974, allocations: 192 / 0.5647 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3974, allocations: 11.94 kB / 0.5647 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3974, allocations: 0 / 0.5647 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.3975, allocations: 35.91 kB / 0.5647 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.398, allocations: 296.8 kB / 0.565 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.3981, allocations: 54.48 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.3982, allocations: 36.91 kB / 0.5651 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3982, allocations: 0 / 0.5651 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3982, allocations: 34.56 kB / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3982, allocations: 0 / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006675/0.3989, allocations: 185.4 kB / 0.5653 GB, free: 0.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.399, allocations: 81.11 kB / 0.5654 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3992, allocations: 150.2 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.3992, allocations: 29.7 kB / 0.5655 GB, free: 384 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.676e-05/0.3993, allocations: 96.08 kB / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.3993, allocations: 23.8 kB / 0.5657 GB, free: 260 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.3993, allocations: 29.7 kB / 0.5657 GB, free: 224 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3995, allocations: 326.8 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.3996, allocations: 23.98 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.3997, allocations: 49.69 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.3999, allocations: 76.89 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3999, allocations: 0 / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002568/0.4002, allocations: 121.5 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.4002, allocations: 8 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4002, allocations: 32 / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4002, allocations: 4 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.4003, allocations: 19.98 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4003, allocations: 0 / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.4004, allocations: 4 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.4004, allocations: 0 / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001206/0.4005, allocations: 129.8 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.4005, allocations: 7.953 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.4009, allocations: 118.3 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4009, allocations: 3.938 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4009, allocations: 0 / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4009, allocations: 0 / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006496/0.4015, allocations: 406.3 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4015, allocations: 0 / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.4016, allocations: 19.98 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4016, allocations: 4 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.4016, allocations: 4.359 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4016, allocations: 0 / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.4016, allocations: 11.94 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.4019, allocations: 195.4 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.402, allocations: 89.05 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.402, allocations: 0 / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.4021, allocations: 8 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.4022, allocations: 15.91 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.4022, allocations: 4 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.4023, allocations: 121.5 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4023, allocations: 0 / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003193/0.4026, allocations: 39.88 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002003/0.4046, allocations: 0.4944 MB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003529/0.405, allocations: 71.89 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.405, allocations: 0 / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.4051, allocations: 39.95 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.4055, allocations: 19.38 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/0.4062, allocations: 197.8 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.4066, allocations: 0.6963 MB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.5e-05/0.4067, allocations: 28.48 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.4067, allocations: 15.44 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4067, allocations: 0 / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of Templates: time 0.005881/0.4126, allocations: 1.991 MB / 0.5709 GB, free: 10.89 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.378409499768168]