Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001728/0.001728, 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.002052/0.002052, allocations: 209 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.609/1.609, allocations: 230.6 MB / 258.2 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.2369/0.2369, allocations: 44.94 MB / 359.6 MB, free: 6.039 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [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.002082/0.002082, allocations: 67.91 kB / 0.4943 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.417, allocations: 65.48 MB / 0.5582 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003441/0.4205, allocations: 1.597 MB / 0.5598 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.4216, allocations: 0.5193 MB / 0.5603 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.4217, allocations: 0 / 0.5603 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.4219, allocations: 31.77 kB / 0.5603 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.4222, allocations: 75.7 kB / 0.5604 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.4226, allocations: 111.4 kB / 0.5605 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.4228, allocations: 67.78 kB / 0.5605 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.4229, allocations: 19.97 kB / 0.5606 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.4229, allocations: 19.94 kB / 0.5606 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.423, allocations: 15.86 kB / 0.5606 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.423, allocations: 4 kB / 0.5606 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.4231, allocations: 39.92 kB / 0.5606 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.4232, allocations: 19.91 kB / 0.5607 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.4232, allocations: 11.88 kB / 0.5607 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.4234, allocations: 86.06 kB / 0.5608 GB, free: 4.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4234, allocations: 0 / 0.5608 GB, free: 4.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4234, allocations: 0 / 0.5608 GB, free: 4.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.4234, allocations: 4 kB / 0.5608 GB, free: 4.852 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005189/0.4239, allocations: 313.8 kB / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.424, allocations: 12.03 kB / 0.5611 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.424, allocations: 12.89 kB / 0.5611 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.4243, allocations: 134.3 kB / 0.5612 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4243, allocations: 384 / 0.5612 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.4243, allocations: 4.375 kB / 0.5612 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.4245, allocations: 49.81 kB / 0.5613 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4245, allocations: 4 kB / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.4245, allocations: 0 / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.4245, allocations: 4 kB / 0.5613 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.514e-05/0.4246, allocations: 23.97 kB / 0.5613 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.425, allocations: 228.5 kB / 0.5615 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.4252, allocations: 42.56 kB / 0.5615 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.4253, allocations: 20.92 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.4253, allocations: 0 / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.4253, allocations: 38.56 kB / 0.5616 GB, free: 3.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.4253, allocations: 0 / 0.5616 GB, free: 3.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006018/0.4259, allocations: 149.4 kB / 0.5617 GB, free: 3.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.426, allocations: 51.41 kB / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.4262, allocations: 154.1 kB / 0.5619 GB, free: 3.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.4262, allocations: 25.7 kB / 0.562 GB, free: 3.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.4262, allocations: 92.14 kB / 0.5621 GB, free: 3.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.4263, allocations: 27.77 kB / 0.5621 GB, free: 3.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.4263, allocations: 25.66 kB / 0.5621 GB, free: 3.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4265, allocations: 322.8 kB / 0.5624 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.4266, allocations: 23.98 kB / 0.5624 GB, free: 2.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.363e-05/0.4266, allocations: 23.92 kB / 0.5625 GB, free: 2.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.4268, allocations: 48.83 kB / 0.5625 GB, free: 2.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4268, allocations: 3.938 kB / 0.5625 GB, free: 2.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001892/0.427, allocations: 85.61 kB / 0.5626 GB, free: 2.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.427, allocations: 8 kB / 0.5626 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.427, allocations: 0 / 0.5626 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.427, allocations: 4 kB / 0.5626 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.4271, allocations: 11.98 kB / 0.5626 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4271, allocations: 4.25 kB / 0.5626 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.4271, allocations: 7.938 kB / 0.5626 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.4271, allocations: 11.98 kB / 0.5626 GB, free: 2.746 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 (5): * Single equations (assignments): 5 * 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.0001024/0.4272, allocations: 117.8 kB / 0.5627 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.4273, allocations: 7.953 kB / 0.5628 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.4275, allocations: 98.05 kB / 0.5628 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4275, allocations: 4 kB / 0.5629 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4275, allocations: 0 / 0.5629 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4275, allocations: 0 / 0.5629 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.428, allocations: 298.1 kB / 0.5631 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.428, allocations: 0 / 0.5631 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.428, allocations: 15.98 kB / 0.5632 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.428, allocations: 0 / 0.5632 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.428, allocations: 0 / 0.5632 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4281, allocations: 0 / 0.5632 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4281, allocations: 4 kB / 0.5632 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.4283, allocations: 191.3 kB / 0.5633 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.4283, allocations: 7.953 kB / 0.5633 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4283, allocations: 3.984 kB / 0.5634 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.4284, allocations: 4 kB / 0.5634 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.4284, allocations: 0 / 0.5634 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.4285, allocations: 15.92 kB / 0.5634 GB, free: 1.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.4286, allocations: 113.7 kB / 0.5635 GB, free: 1.805 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4286, allocations: 0 / 0.5635 GB, free: 1.805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.4288, allocations: 23.92 kB / 0.5635 GB, free: 1.781 MB / 398.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 (5): * Single equations (assignments): 5 * 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.001659/0.4305, allocations: 431 kB / 0.5639 GB, free: 1.535 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.4307, allocations: 47.95 kB / 0.564 GB, free: 1.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4307, allocations: 0 / 0.564 GB, free: 1.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/0.4308, allocations: 31.92 kB / 0.564 GB, free: 1.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.4311, allocations: 18.48 kB / 0.564 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.4316, allocations: 215.9 kB / 0.5642 GB, free: 1.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.4317, allocations: 87.02 kB / 0.5643 GB, free: 1.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.4318, allocations: 15.44 kB / 0.5643 GB, free: 1.074 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4318, allocations: 0 / 0.5643 GB, free: 1.074 MB / 398.1 MB Notification: Performance of Templates: time 0.003631/0.4354, allocations: 1.481 MB / 0.5658 GB, free: 15.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.39088742621243]