Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 109.9 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4146/0.4146, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.86 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3944, allocations: 60.79 MB / 0.5064 GB, free: 38.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002982/0.3975, allocations: 1.624 MB / 0.508 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3988, allocations: 0.995 MB / 0.5089 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.3989, allocations: 2.812 kB / 0.5089 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.3991, allocations: 20.88 kB / 0.509 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.3993, allocations: 38.52 kB / 0.509 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.3996, allocations: 72.66 kB / 0.5091 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.3997, allocations: 60.08 kB / 0.5091 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3998, allocations: 16.89 kB / 0.5091 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.3999, allocations: 13.62 kB / 0.5092 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.4003, allocations: 32.33 kB / 0.5092 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.4003, allocations: 2.844 kB / 0.5092 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.4004, allocations: 41.52 kB / 0.5092 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.4005, allocations: 14.11 kB / 0.5092 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.4005, allocations: 22.08 kB / 0.5093 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.4007, allocations: 84.7 kB / 0.5093 GB, free: 36.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4007, allocations: 4 kB / 0.5093 GB, free: 36.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4007, allocations: 4 kB / 0.5094 GB, free: 36.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.4007, allocations: 2.875 kB / 0.5094 GB, free: 36.12 MB / 378.7 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.0004147/0.4012, allocations: 376.9 kB / 0.5097 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4012, allocations: 9.969 kB / 0.5097 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.4013, allocations: 7.594 kB / 0.5097 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.4014, allocations: 185.3 kB / 0.5099 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.4014, allocations: 384 / 0.5099 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.4015, allocations: 3.156 kB / 0.5099 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.4016, allocations: 75.64 kB / 0.51 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4016, allocations: 0 / 0.51 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.4017, allocations: 0 / 0.51 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4017, allocations: 0 / 0.51 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.63e-05/0.4018, allocations: 24.03 kB / 0.51 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.4021, allocations: 273.9 kB / 0.5103 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.4023, allocations: 45.72 kB / 0.5103 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.4023, allocations: 14.05 kB / 0.5103 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.4024, allocations: 7.938 kB / 0.5103 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.4024, allocations: 33.47 kB / 0.5104 GB, free: 35.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4024, allocations: 0 / 0.5104 GB, free: 35.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005136/0.4029, allocations: 137.6 kB / 0.5105 GB, free: 35.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.403, allocations: 77.11 kB / 0.5106 GB, free: 34.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.4031, allocations: 132.3 kB / 0.5107 GB, free: 34.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.4031, allocations: 28.64 kB / 0.5107 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.4031, allocations: 98.22 kB / 0.5108 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.4032, allocations: 11.75 kB / 0.5108 GB, free: 34.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.4032, allocations: 22.8 kB / 0.5108 GB, free: 34.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.4033, allocations: 322.8 kB / 0.5112 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.4033, allocations: 18.03 kB / 0.5112 GB, free: 34.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.4034, allocations: 35.39 kB / 0.5112 GB, free: 34.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.4035, allocations: 47.92 kB / 0.5113 GB, free: 34.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4035, allocations: 3.938 kB / 0.5113 GB, free: 34.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001503/0.4037, allocations: 82.83 kB / 0.5113 GB, free: 34.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4037, allocations: 6.969 kB / 0.5113 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4037, allocations: 0 / 0.5113 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4037, allocations: 6.984 kB / 0.5113 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.4038, allocations: 15.98 kB / 0.5114 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4038, allocations: 0 / 0.5114 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.852e-05/0.4039, allocations: 6.094 kB / 0.5114 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.4039, allocations: 2.938 kB / 0.5114 GB, free: 34.22 MB / 378.7 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 5.945e-05/0.4039, allocations: 121.3 kB / 0.5115 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.404, allocations: 10.69 kB / 0.5115 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.4042, allocations: 87.86 kB / 0.5116 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4042, allocations: 2.844 kB / 0.5116 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4042, allocations: 0 / 0.5116 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4042, allocations: 0 / 0.5116 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.4045, allocations: 352.8 kB / 0.5119 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4045, allocations: 0 / 0.5119 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/0.4046, allocations: 12 kB / 0.5119 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4046, allocations: 0 / 0.5119 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4046, allocations: 0 / 0.5119 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4046, allocations: 6.844 kB / 0.5119 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4046, allocations: 3.938 kB / 0.5119 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.405, allocations: 0.7498 MB / 0.5127 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.405, allocations: 87.16 kB / 0.5128 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.405, allocations: 0 / 0.5128 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.063e-05/0.4051, allocations: 6.938 kB / 0.5128 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.4052, allocations: 6.281 kB / 0.5128 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.4052, allocations: 0 / 0.5128 GB, free: 32.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.761e-05/0.4052, allocations: 112.8 kB / 0.5129 GB, free: 32.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4052, allocations: 0 / 0.5129 GB, free: 32.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.4056, allocations: 22.03 kB / 0.5129 GB, free: 32.76 MB / 378.7 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.0008577/0.4064, allocations: 433.5 kB / 0.5133 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.4066, allocations: 59.44 kB / 0.5134 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4067, allocations: 0 / 0.5134 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.399e-05/0.4067, allocations: 24.84 kB / 0.5134 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.4071, allocations: 21.23 kB / 0.5134 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.4074, allocations: 290.6 kB / 0.5137 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.4076, allocations: 0.6914 MB / 0.5144 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.738e-05/0.4076, allocations: 13.88 kB / 0.5144 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.4077, allocations: 17.06 kB / 0.5144 GB, free: 31.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4077, allocations: 0 / 0.5144 GB, free: 31.55 MB / 378.7 MB Notification: Performance of Templates: time 0.003546/0.4112, allocations: 1.307 MB / 0.5157 GB, free: 31.39 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches