Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001978/0.001978, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002668/0.002668, allocations: 210.4 kB / 23.73 MB, free: 4.387 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.235/0.235, allocations: 44.93 MB / 358.8 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 179] 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") [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.00238/0.00238, allocations: 67.89 kB / 0.4935 GB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3814, allocations: 65.46 MB / 0.5575 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003601/0.385, allocations: 1.601 MB / 0.559 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3862, allocations: 0.5271 MB / 0.5596 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.3862, allocations: 0 / 0.5596 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.3866, allocations: 127.6 kB / 0.5597 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.387, allocations: 123.6 kB / 0.5598 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.3873, allocations: 95.62 kB / 0.5599 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.3875, allocations: 99.78 kB / 0.56 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3876, allocations: 15.66 kB / 0.56 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.135e-05/0.3877, allocations: 51.81 kB / 0.56 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.3879, allocations: 95.77 kB / 0.5601 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3879, allocations: 0 / 0.5601 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.388, allocations: 47.92 kB / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.3881, allocations: 23.86 kB / 0.5602 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.3881, allocations: 35.72 kB / 0.5602 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.3884, allocations: 126.2 kB / 0.5604 GB, free: 4.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3884, allocations: 3.938 kB / 0.5604 GB, free: 4.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3884, allocations: 0 / 0.5604 GB, free: 4.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3884, allocations: 0 / 0.5604 GB, free: 4.488 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.000569/0.3889, allocations: 367.1 kB / 0.5607 GB, free: 4.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.389, allocations: 8.031 kB / 0.5607 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.389, allocations: 20.78 kB / 0.5607 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.3892, allocations: 162.4 kB / 0.5609 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3893, allocations: 4.375 kB / 0.5609 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3893, allocations: 384 / 0.5609 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.3895, allocations: 57.8 kB / 0.561 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3895, allocations: 11.94 kB / 0.561 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3895, allocations: 0 / 0.561 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3895, allocations: 3.984 kB / 0.561 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.924e-05/0.3896, allocations: 31.97 kB / 0.561 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.39, allocations: 240.4 kB / 0.5612 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.3901, allocations: 42.56 kB / 0.5613 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.3901, allocations: 24.94 kB / 0.5613 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3902, allocations: 0 / 0.5613 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.3902, allocations: 30.56 kB / 0.5613 GB, free: 3.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3902, allocations: 3.938 kB / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009046/0.3911, allocations: 241.2 kB / 0.5616 GB, free: 3.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.3911, allocations: 51.41 kB / 0.5616 GB, free: 3.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.3914, allocations: 275.8 kB / 0.5619 GB, free: 2.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3915, allocations: 25.7 kB / 0.5619 GB, free: 2.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.3916, allocations: 112.1 kB / 0.562 GB, free: 2.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.3916, allocations: 27.75 kB / 0.562 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.3916, allocations: 29.7 kB / 0.5621 GB, free: 2.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3918, allocations: 330.8 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-05/0.3919, allocations: 23.98 kB / 0.5624 GB, free: 2.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.938e-05/0.3919, allocations: 27.97 kB / 0.5624 GB, free: 2.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3921, allocations: 56.84 kB / 0.5625 GB, free: 2.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3921, allocations: 0 / 0.5625 GB, free: 2.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002174/0.3923, allocations: 109.5 kB / 0.5626 GB, free: 2.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3923, allocations: 10.81 kB / 0.5626 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3923, allocations: 0 / 0.5626 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3923, allocations: 4 kB / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3924, allocations: 15.98 kB / 0.5626 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3924, allocations: 0 / 0.5626 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.3925, allocations: 11.98 kB / 0.5626 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3925, allocations: 7.938 kB / 0.5626 GB, free: 1.988 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.000114/0.3926, allocations: 135.1 kB / 0.5628 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.3927, allocations: 11.91 kB / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.3929, allocations: 135.2 kB / 0.5629 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.393, allocations: 0 / 0.5629 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.393, allocations: 4 kB / 0.5629 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.393, allocations: 0 / 0.5629 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.3935, allocations: 354.9 kB / 0.5632 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.3935, allocations: 4 kB / 0.5632 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.911e-05/0.3936, allocations: 15.98 kB / 0.5633 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3936, allocations: 4.031 kB / 0.5633 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3936, allocations: 8 kB / 0.5633 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3936, allocations: 7.922 kB / 0.5633 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3936, allocations: 0 / 0.5633 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3939, allocations: 204.2 kB / 0.5635 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.3939, allocations: 15.89 kB / 0.5635 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.3939, allocations: 4 kB / 0.5635 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.394, allocations: 7.938 kB / 0.5635 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.394, allocations: 8.406 kB / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.394, allocations: 4 kB / 0.5635 GB, free: 1.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.3942, allocations: 216.1 kB / 0.5637 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3942, allocations: 0 / 0.5637 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3945, allocations: 19.94 kB / 0.5637 GB, free: 0.7773 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.001891/0.3964, allocations: 0.4887 MB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.3966, allocations: 59.95 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3966, allocations: 0 / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.3967, allocations: 31.92 kB / 0.5643 GB, free: 420 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3971, allocations: 31.69 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.3977, allocations: 312.3 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.3978, allocations: 108.1 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.146e-05/0.3979, allocations: 12.97 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.3979, allocations: 23.36 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3979, allocations: 0 / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Templates: time 0.004812/0.4027, allocations: 1.452 MB / 0.5662 GB, free: 14.44 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.322112794965506]