Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.002314/0.002314, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.003006/0.003006, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.634/1.634, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2643/0.2643, allocations: 46.94 MB / 360.9 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 67.89 kB / 0.4967 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4132, allocations: 66.04 MB / 0.5612 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003511/0.4167, allocations: 1.679 MB / 0.5628 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.4179, allocations: 0.5699 MB / 0.5634 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.418, allocations: 4 kB / 0.5634 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.4184, allocations: 95.67 kB / 0.5634 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.4188, allocations: 111.6 kB / 0.5636 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.4192, allocations: 123.7 kB / 0.5637 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.4194, allocations: 95.75 kB / 0.5638 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.4196, allocations: 27.62 kB / 0.5638 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.464e-05/0.4196, allocations: 47.78 kB / 0.5638 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.4198, allocations: 67.8 kB / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.4198, allocations: 8 kB / 0.5639 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.4199, allocations: 39.98 kB / 0.5639 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.622e-05/0.42, allocations: 35.84 kB / 0.564 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.99e-05/0.4201, allocations: 47.67 kB / 0.564 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.4203, allocations: 126.2 kB / 0.5641 GB, free: 1.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4203, allocations: 7.938 kB / 0.5642 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4203, allocations: 3.938 kB / 0.5642 GB, free: 1.312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.4204, allocations: 0 / 0.5642 GB, free: 1.312 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.0006036/0.421, allocations: 361.5 kB / 0.5645 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.421, allocations: 8.031 kB / 0.5645 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.4211, allocations: 16.84 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.4213, allocations: 154.8 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4213, allocations: 4.375 kB / 0.5647 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.4213, allocations: 8.375 kB / 0.5647 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.4215, allocations: 85.47 kB / 0.5648 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.4216, allocations: 7.953 kB / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4216, allocations: 0 / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4216, allocations: 0 / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.4217, allocations: 43.97 kB / 0.5648 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.4223, allocations: 311.8 kB / 0.5651 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.4224, allocations: 70.48 kB / 0.5652 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.145e-05/0.4225, allocations: 24.84 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.4225, allocations: 0 / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.4226, allocations: 30.56 kB / 0.5652 GB, free: 92 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.4226, allocations: 0 / 0.5652 GB, free: 92 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001221/0.4238, allocations: 353.6 kB / 0.5656 GB, free: 15.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.4238, allocations: 51.41 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.4241, allocations: 239.6 kB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.4242, allocations: 29.7 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/0.4242, allocations: 112 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.4243, allocations: 47.64 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.4244, allocations: 25.72 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4245, allocations: 326.8 kB / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.4246, allocations: 43.97 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.4247, allocations: 47.97 kB / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.425, allocations: 104.8 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.425, allocations: 4 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003161/0.4253, allocations: 165.4 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4253, allocations: 4 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4253, allocations: 0 / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4253, allocations: 3.938 kB / 0.5667 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.4255, allocations: 27.98 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4255, allocations: 240 / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.4255, allocations: 7.984 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.4255, allocations: 12 kB / 0.5668 GB, free: 14.45 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 (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.0001205/0.4256, allocations: 137.8 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.4257, allocations: 15.91 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.4261, allocations: 194.1 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4261, allocations: 4 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4261, allocations: 0 / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.4261, allocations: 3.984 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008376/0.427, allocations: 470.2 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.427, allocations: 0 / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.847e-05/0.4271, allocations: 35.92 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4271, allocations: 0 / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.4271, allocations: 3.984 kB / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4271, allocations: 4 kB / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4271, allocations: 0 / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.4274, allocations: 256.2 kB / 0.5678 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.4275, allocations: 15.91 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.4275, allocations: 0 / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.4276, allocations: 19.92 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.4276, allocations: 7.984 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.4276, allocations: 8 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.4278, allocations: 185.1 kB / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4278, allocations: 0 / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.4281, allocations: 27.94 kB / 0.5681 GB, free: 13 MB / 414.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.001739/0.4298, allocations: 467.9 kB / 0.5685 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.4301, allocations: 111.8 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4301, allocations: 0 / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.4302, allocations: 59.89 kB / 0.5687 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.4306, allocations: 15.75 kB / 0.5687 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007158/0.4314, allocations: 331.8 kB / 0.569 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.4319, allocations: 0.7203 MB / 0.5697 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.806e-05/0.432, allocations: 32.41 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.432, allocations: 23.44 kB / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.432, allocations: 0 / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of Templates: time 0.005537/0.4376, allocations: 1.68 MB / 0.5714 GB, free: 9.711 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.724835081957281]