Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001566/0.001566, allocations: 115.9 kB / 20.44 MB, free: 1.465 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.001812/0.001812, allocations: 213.5 kB / 23.74 MB, free: 4.691 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.55/1.55, 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.259/0.259, allocations: 46.94 MB / 360.9 MB, free: 4.379 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.CombiTable1Ds.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.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00366/0.00366, allocations: 67.89 kB / 0.4967 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3929, allocations: 66.03 MB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003452/0.3963, allocations: 1.675 MB / 0.5628 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3974, allocations: 0.5621 MB / 0.5633 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.3975, allocations: 0 / 0.5633 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.3978, allocations: 91.75 kB / 0.5634 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.3982, allocations: 119.5 kB / 0.5635 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.3984, allocations: 95.7 kB / 0.5636 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.3986, allocations: 103.7 kB / 0.5637 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3988, allocations: 15.64 kB / 0.5637 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.088e-05/0.3988, allocations: 47.83 kB / 0.5638 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.399, allocations: 71.73 kB / 0.5639 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.399, allocations: 4 kB / 0.5639 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3991, allocations: 51.92 kB / 0.5639 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.3992, allocations: 31.86 kB / 0.5639 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.3992, allocations: 35.67 kB / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.3994, allocations: 126.2 kB / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3994, allocations: 0 / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3994, allocations: 4 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.3995, allocations: 4 kB / 0.5641 GB, free: 1.387 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005374/0.4, allocations: 357.5 kB / 0.5644 GB, free: 1.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4, allocations: 12.03 kB / 0.5645 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.4001, allocations: 16.78 kB / 0.5645 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.4003, allocations: 154.8 kB / 0.5646 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.4003, allocations: 4.375 kB / 0.5646 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.4003, allocations: 4.375 kB / 0.5646 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4005, allocations: 77.78 kB / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4005, allocations: 7.953 kB / 0.5647 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.4005, allocations: 0 / 0.5647 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4005, allocations: 0 / 0.5647 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.4007, allocations: 47.89 kB / 0.5648 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.4011, allocations: 295.8 kB / 0.565 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.4012, allocations: 66.55 kB / 0.5651 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.4013, allocations: 20.8 kB / 0.5651 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.4013, allocations: 12.12 kB / 0.5651 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.4013, allocations: 34.56 kB / 0.5652 GB, free: 180 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4013, allocations: 112 / 0.5652 GB, free: 180 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001031/0.4024, allocations: 313.5 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.4024, allocations: 51.41 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.4026, allocations: 239.6 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.4027, allocations: 25.7 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.4028, allocations: 116 kB / 0.5659 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.4028, allocations: 47.62 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.4028, allocations: 25.72 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.403, allocations: 330.8 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-05/0.4031, allocations: 31.97 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.765e-05/0.4032, allocations: 47.67 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.4034, allocations: 84.83 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4034, allocations: 0 / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002607/0.4036, allocations: 141.5 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.4036, allocations: 8 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4036, allocations: 0 / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4036, allocations: 3.938 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.4038, allocations: 31.86 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4038, allocations: 4 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.4038, allocations: 4 kB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.4038, allocations: 7.984 kB / 0.5666 GB, free: 14.62 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.0001127/0.4039, allocations: 137.8 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.404, allocations: 11.91 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.4043, allocations: 163 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.4044, allocations: 7.938 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4044, allocations: 0 / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4044, allocations: 0 / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/0.405, allocations: 450.2 kB / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.405, allocations: 0 / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.4051, allocations: 27.98 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4051, allocations: 0 / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.4051, allocations: 8 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4052, allocations: 0 / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4052, allocations: 3.938 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.4055, allocations: 251.5 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.4055, allocations: 11.91 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.4055, allocations: 4 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.4056, allocations: 7.984 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.4056, allocations: 7.984 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4056, allocations: 4 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.4058, allocations: 193.1 kB / 0.5678 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4058, allocations: 0 / 0.5678 GB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.4061, allocations: 23.94 kB / 0.5679 GB, free: 13.25 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.001717/0.4078, allocations: 471.2 kB / 0.5683 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.4081, allocations: 87.95 kB / 0.5684 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4081, allocations: 3.938 kB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.4082, allocations: 47.91 kB / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.4086, allocations: 30.33 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/0.4092, allocations: 319.8 kB / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.4096, allocations: 0.7203 MB / 0.5695 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.957e-05/0.4097, allocations: 20.47 kB / 0.5695 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.4097, allocations: 19.44 kB / 0.5695 GB, free: 11.68 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4097, allocations: 0 / 0.5695 GB, free: 11.68 MB / 414.1 MB Notification: Performance of Templates: time 0.005058/0.4148, allocations: 1.611 MB / 0.5711 GB, free: 10.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.605679818894714]