Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001502/0.001502, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002124/0.002124, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.2348/0.2348, allocations: 44.94 MB / 359.6 MB, free: 6.066 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [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.00217/0.00217, allocations: 70.23 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.415, allocations: 65.47 MB / 0.5582 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003478/0.4184, allocations: 1.651 MB / 0.5598 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.4196, allocations: 0.535 MB / 0.5603 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.4197, allocations: 3.938 kB / 0.5603 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.42, allocations: 95.73 kB / 0.5604 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.4203, allocations: 119.6 kB / 0.5606 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.4207, allocations: 123 kB / 0.5607 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.4209, allocations: 95.75 kB / 0.5608 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.4211, allocations: 27.62 kB / 0.5608 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.4212, allocations: 43.84 kB / 0.5608 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.4213, allocations: 67.73 kB / 0.5609 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.4213, allocations: 4 kB / 0.5609 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.4214, allocations: 47.98 kB / 0.5609 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.4215, allocations: 27.91 kB / 0.561 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.4216, allocations: 39.67 kB / 0.561 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.4218, allocations: 130.2 kB / 0.5611 GB, free: 4.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4218, allocations: 0 / 0.5611 GB, free: 4.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4218, allocations: 0 / 0.5611 GB, free: 4.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.4218, allocations: 0 / 0.5611 GB, free: 4.473 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005572/0.4224, allocations: 361.5 kB / 0.5615 GB, free: 4.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4224, allocations: 12.03 kB / 0.5615 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.4225, allocations: 16.84 kB / 0.5615 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.4227, allocations: 162.2 kB / 0.5617 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.4227, allocations: 8.375 kB / 0.5617 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.4227, allocations: 8.375 kB / 0.5617 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.4229, allocations: 73.78 kB / 0.5617 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.4229, allocations: 3.953 kB / 0.5617 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.4229, allocations: 8 kB / 0.5618 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4229, allocations: 0 / 0.5618 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.423, allocations: 39.97 kB / 0.5618 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.4235, allocations: 280.3 kB / 0.5621 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.4236, allocations: 62.55 kB / 0.5621 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.4237, allocations: 28.84 kB / 0.5621 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.4237, allocations: 7.922 kB / 0.5622 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.4238, allocations: 34.56 kB / 0.5622 GB, free: 3.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.4238, allocations: 0 / 0.5622 GB, free: 3.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001243/0.425, allocations: 341.8 kB / 0.5625 GB, free: 2.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.4251, allocations: 59.28 kB / 0.5626 GB, free: 2.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.4253, allocations: 235.6 kB / 0.5628 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.4254, allocations: 25.7 kB / 0.5628 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.183e-05/0.4254, allocations: 116 kB / 0.5629 GB, free: 2.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.4255, allocations: 43.64 kB / 0.563 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.4255, allocations: 25.72 kB / 0.563 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4257, allocations: 330.8 kB / 0.5633 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.4258, allocations: 43.97 kB / 0.5634 GB, free: 2.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.4259, allocations: 47.97 kB / 0.5634 GB, free: 1.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.4261, allocations: 112.4 kB / 0.5635 GB, free: 1.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4261, allocations: 0 / 0.5635 GB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002846/0.4264, allocations: 157.5 kB / 0.5637 GB, free: 1.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4264, allocations: 10.66 kB / 0.5637 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4265, allocations: 0 / 0.5637 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4265, allocations: 0 / 0.5637 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.4266, allocations: 31.86 kB / 0.5637 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4266, allocations: 11.98 kB / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.4266, allocations: 4 kB / 0.5637 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.4267, allocations: 4 kB / 0.5637 GB, free: 1.645 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 (13): * Single equations (assignments): 13 * 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.0001249/0.4268, allocations: 134.4 kB / 0.5638 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.4268, allocations: 15.91 kB / 0.5639 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/0.4273, allocations: 191 kB / 0.564 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.4273, allocations: 11.88 kB / 0.5641 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4273, allocations: 0 / 0.5641 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.4273, allocations: 4 kB / 0.5641 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.4279, allocations: 434.7 kB / 0.5645 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.428, allocations: 0 / 0.5645 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.428, allocations: 27.98 kB / 0.5645 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.428, allocations: 0 / 0.5645 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.4281, allocations: 4 kB / 0.5645 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.4281, allocations: 4 kB / 0.5645 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4281, allocations: 0 / 0.5645 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.4284, allocations: 260.2 kB / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.4284, allocations: 19.89 kB / 0.5648 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4285, allocations: 0 / 0.5648 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.4285, allocations: 4 kB / 0.5648 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.4286, allocations: 11.98 kB / 0.5648 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.4286, allocations: 4 kB / 0.5648 GB, free: 476 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.4288, allocations: 185.1 kB / 0.565 GB, free: 292 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4288, allocations: 4 kB / 0.565 GB, free: 288 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.4291, allocations: 27.92 kB / 0.565 GB, free: 260 kB / 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 (13): * Single equations (assignments): 13 * 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.001877/0.4309, allocations: 488.8 kB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.4312, allocations: 103.9 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4312, allocations: 4 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.4314, allocations: 59.91 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.4317, allocations: 34.78 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006645/0.4324, allocations: 365.3 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.4325, allocations: 108.9 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.4326, allocations: 23.48 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4326, allocations: 0 / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of Templates: time 0.004691/0.4373, allocations: 2.211 MB / 0.5683 GB, free: 13.03 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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: 8.074216810055077]