Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.222/0.222, allocations: 44.91 MB / 359.6 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 63.89 kB / 0.4943 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3884, allocations: 65.46 MB / 0.5583 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003281/0.3917, allocations: 1.644 MB / 0.5599 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.3929, allocations: 0.5543 MB / 0.5604 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.393, allocations: 0 / 0.5604 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.3933, allocations: 79.7 kB / 0.5605 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.3936, allocations: 107.6 kB / 0.5606 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.3939, allocations: 87.77 kB / 0.5607 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.3941, allocations: 83.75 kB / 0.5608 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3942, allocations: 19.64 kB / 0.5608 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.259e-05/0.3943, allocations: 39.84 kB / 0.5608 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.3944, allocations: 63.8 kB / 0.5609 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3944, allocations: 4 kB / 0.5609 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3945, allocations: 43.98 kB / 0.5609 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.3946, allocations: 27.84 kB / 0.5609 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.3946, allocations: 31.75 kB / 0.561 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.3949, allocations: 102.2 kB / 0.5611 GB, free: 4.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3949, allocations: 0 / 0.5611 GB, free: 4.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3949, allocations: 4 kB / 0.5611 GB, free: 4.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3949, allocations: 0 / 0.5611 GB, free: 4.824 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005481/0.3954, allocations: 341.6 kB / 0.5614 GB, free: 4.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3955, allocations: 8.031 kB / 0.5614 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.3955, allocations: 16.84 kB / 0.5614 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.3957, allocations: 150.9 kB / 0.5616 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3957, allocations: 4.359 kB / 0.5616 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.3958, allocations: 8.375 kB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3959, allocations: 49.81 kB / 0.5616 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3959, allocations: 3.938 kB / 0.5616 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.3959, allocations: 0 / 0.5616 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.396, allocations: 7.984 kB / 0.5616 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.3961, allocations: 27.98 kB / 0.5617 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.3965, allocations: 263.8 kB / 0.5619 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.3966, allocations: 38.5 kB / 0.562 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.3966, allocations: 20.94 kB / 0.562 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3967, allocations: 4 kB / 0.562 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3967, allocations: 34.56 kB / 0.562 GB, free: 3.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3967, allocations: 0 / 0.562 GB, free: 3.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008918/0.3976, allocations: 225.3 kB / 0.5622 GB, free: 3.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.3976, allocations: 51.41 kB / 0.5623 GB, free: 3.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.3979, allocations: 218.2 kB / 0.5625 GB, free: 3.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.3979, allocations: 25.7 kB / 0.5625 GB, free: 3.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.398, allocations: 112 kB / 0.5626 GB, free: 3.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.398, allocations: 27.75 kB / 0.5626 GB, free: 3.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.398, allocations: 21.72 kB / 0.5627 GB, free: 3.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3982, allocations: 326.8 kB / 0.563 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.3983, allocations: 31.97 kB / 0.563 GB, free: 2.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.3983, allocations: 19.98 kB / 0.563 GB, free: 2.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.3985, allocations: 68.7 kB / 0.5631 GB, free: 2.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3985, allocations: 0 / 0.5631 GB, free: 2.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002204/0.3987, allocations: 101.6 kB / 0.5632 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3987, allocations: 4 kB / 0.5632 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3987, allocations: 4 kB / 0.5632 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.3988, allocations: 3.984 kB / 0.5632 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3989, allocations: 16 kB / 0.5632 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3989, allocations: 7.938 kB / 0.5632 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.3989, allocations: 15.92 kB / 0.5632 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.3989, allocations: 3.938 kB / 0.5632 GB, free: 2.418 MB / 398.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 (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 prepare postOptimizeDAE: time 0.0001109/0.399, allocations: 125.8 kB / 0.5634 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.3991, allocations: 11.91 kB / 0.5634 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.3994, allocations: 123.3 kB / 0.5635 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3994, allocations: 4 kB / 0.5635 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3994, allocations: 0 / 0.5635 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3994, allocations: 3.938 kB / 0.5635 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005547/0.3999, allocations: 374.8 kB / 0.5639 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3999, allocations: 0 / 0.5639 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-05/0.4, allocations: 23.95 kB / 0.5639 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.4, allocations: 7.938 kB / 0.5639 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4, allocations: 4 kB / 0.5639 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4, allocations: 0 / 0.5639 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4, allocations: 0 / 0.5639 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.4003, allocations: 204.3 kB / 0.5641 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.4003, allocations: 15.84 kB / 0.5641 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.4003, allocations: 4 kB / 0.5641 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.4004, allocations: 8 kB / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.4005, allocations: 7.922 kB / 0.5641 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.4005, allocations: 4 kB / 0.5641 GB, free: 1.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.4006, allocations: 168.2 kB / 0.5643 GB, free: 1.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4006, allocations: 0 / 0.5643 GB, free: 1.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.4009, allocations: 19.98 kB / 0.5643 GB, free: 1.234 MB / 398.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: 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.001793/0.4027, allocations: 468.6 kB / 0.5647 GB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.4029, allocations: 59.91 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4029, allocations: 4 kB / 0.5648 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/0.403, allocations: 31.97 kB / 0.5648 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.4034, allocations: 19.92 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.404, allocations: 288.3 kB / 0.5651 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.4044, allocations: 0.7119 MB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.4045, allocations: 15.44 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4045, allocations: 0 / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of Templates: time 0.003974/0.4084, allocations: 1.766 MB / 0.5676 GB, free: 14.01 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.980680516222492]