Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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.008539/0.008539, allocations: 105.4 kB / 21.98 MB, free: 5.223 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.001943/0.001943, allocations: 214.3 kB / 25.29 MB, free: 3.203 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.466/1.466, allocations: 230.5 MB / 258.9 MB, free: 8.008 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.2263/0.2263, allocations: 46.93 MB / 362.3 MB, free: 4.191 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3") [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.002297/0.002297, allocations: 79.86 kB / 0.4982 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3527, allocations: 66.06 MB / 0.5628 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003244/0.356, allocations: 1.703 MB / 0.5644 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3571, allocations: 0.6005 MB / 0.565 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.3571, allocations: 4 kB / 0.565 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006137/0.3577, allocations: 459.1 kB / 0.5654 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005016/0.3582, allocations: 291.3 kB / 0.5657 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.3587, allocations: 178.9 kB / 0.5659 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.359, allocations: 191.5 kB / 0.5661 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3591, allocations: 8.234 kB / 0.5661 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.3592, allocations: 123.7 kB / 0.5662 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.3595, allocations: 247.5 kB / 0.5664 GB, free: 448 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.3595, allocations: 11.94 kB / 0.5664 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3597, allocations: 63.89 kB / 0.5665 GB, free: 372 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.3598, allocations: 79.7 kB / 0.5666 GB, free: 292 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3599, allocations: 107 kB / 0.5667 GB, free: 184 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.3603, allocations: 289.1 kB / 0.567 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3603, allocations: 0 / 0.567 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3603, allocations: 0 / 0.567 GB, free: 15.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3603, allocations: 0 / 0.567 GB, free: 15.9 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008271/0.3612, allocations: 0.597 MB / 0.5675 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3612, allocations: 12.03 kB / 0.5676 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.954e-05/0.3613, allocations: 44.66 kB / 0.5676 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.3616, allocations: 246.7 kB / 0.5678 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.3616, allocations: 8.312 kB / 0.5678 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.3616, allocations: 4.375 kB / 0.5678 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3618, allocations: 66.22 kB / 0.5679 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3618, allocations: 192 / 0.5679 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3618, allocations: 3.938 kB / 0.5679 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3619, allocations: 4 kB / 0.5679 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.362, allocations: 47.91 kB / 0.568 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.3626, allocations: 395.7 kB / 0.5683 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.3629, allocations: 62.56 kB / 0.5684 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.933e-05/0.363, allocations: 28.97 kB / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.363, allocations: 4 kB / 0.5684 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.363, allocations: 30.56 kB / 0.5685 GB, free: 14.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.363, allocations: 0 / 0.5685 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001512/0.3645, allocations: 0.4964 MB / 0.5689 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.3646, allocations: 55.41 kB / 0.569 GB, free: 13.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009043/0.3655, allocations: 0.8652 MB / 0.5698 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3655, allocations: 25.7 kB / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.3657, allocations: 212.1 kB / 0.5701 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.3657, allocations: 39.62 kB / 0.5701 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.3658, allocations: 29.72 kB / 0.5701 GB, free: 12.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.366, allocations: 362.8 kB / 0.5705 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.3661, allocations: 59.89 kB / 0.5705 GB, free: 12.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3662, allocations: 51.95 kB / 0.5706 GB, free: 12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.3665, allocations: 129 kB / 0.5707 GB, free: 11.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3665, allocations: 3.938 kB / 0.5707 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000376/0.3669, allocations: 205.2 kB / 0.5709 GB, free: 11.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3669, allocations: 4 kB / 0.5709 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.3669, allocations: 3.984 kB / 0.5709 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3669, allocations: 0 / 0.5709 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.367, allocations: 31.91 kB / 0.5709 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.367, allocations: 0 / 0.5709 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.3671, allocations: 19.92 kB / 0.571 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3671, allocations: 8 kB / 0.571 GB, free: 11.59 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 (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.0002172/0.3673, allocations: 209.8 kB / 0.5712 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.3674, allocations: 47.7 kB / 0.5712 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.3679, allocations: 229.3 kB / 0.5714 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3679, allocations: 4 kB / 0.5714 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-06/0.3679, allocations: 4.547 kB / 0.5714 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3679, allocations: 7.938 kB / 0.5715 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008954/0.3688, allocations: 0.5615 MB / 0.572 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3688, allocations: 3.938 kB / 0.572 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3689, allocations: 35.92 kB / 0.572 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3689, allocations: 12.05 kB / 0.5721 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3689, allocations: 0 / 0.5721 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3689, allocations: 4 kB / 0.5721 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3689, allocations: 0 / 0.5721 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.3694, allocations: 304.8 kB / 0.5723 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.3694, allocations: 39.66 kB / 0.5724 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.3694, allocations: 4 kB / 0.5724 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3696, allocations: 11.98 kB / 0.5724 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.3696, allocations: 7.984 kB / 0.5724 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.3696, allocations: 4 kB / 0.5724 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006575/0.3703, allocations: 0.6511 MB / 0.573 GB, free: 9.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3703, allocations: 0 / 0.573 GB, free: 9.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.3706, allocations: 39.98 kB / 0.5731 GB, free: 9.328 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001724/0.3723, allocations: 458.9 kB / 0.5735 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003748/0.3727, allocations: 127.8 kB / 0.5736 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3727, allocations: 0 / 0.5736 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.3728, allocations: 67.89 kB / 0.5737 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.3732, allocations: 29.62 kB / 0.5737 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.3746, allocations: 0.9312 MB / 0.5746 GB, free: 7.852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.3751, allocations: 0.8338 MB / 0.5755 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.3752, allocations: 19.44 kB / 0.5755 GB, free: 6.973 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3752, allocations: 0 / 0.5755 GB, free: 6.973 MB / 414.1 MB Notification: Performance of Templates: time 0.008006/0.3832, allocations: 4.246 MB / 0.5796 GB, free: 2.719 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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: 7.823723759967834]