Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, 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.296/1.296, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.0009786/0.0009786, allocations: 97.92 kB / 291.9 MB, free: 10.94 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.3319/0.3319, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 55.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4091, allocations: 60.81 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002725/0.4118, allocations: 1.634 MB / 0.508 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006184/0.4125, allocations: 403 kB / 0.5084 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.4125, allocations: 1.031 kB / 0.5084 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.4128, allocations: 106 kB / 0.5085 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.413, allocations: 72.14 kB / 0.5085 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.4132, allocations: 88.53 kB / 0.5086 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.4133, allocations: 77.89 kB / 0.5087 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.4134, allocations: 12.22 kB / 0.5087 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.042e-05/0.4135, allocations: 32.12 kB / 0.5087 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.95e-05/0.4136, allocations: 64.08 kB / 0.5088 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.4136, allocations: 1.656 kB / 0.5088 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.183e-05/0.4137, allocations: 48.88 kB / 0.5089 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.4138, allocations: 21.7 kB / 0.5089 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.4138, allocations: 33.03 kB / 0.5089 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.4139, allocations: 109.7 kB / 0.509 GB, free: 36.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4139, allocations: 0 / 0.509 GB, free: 36.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.414, allocations: 0 / 0.509 GB, free: 36.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.414, allocations: 0 / 0.509 GB, free: 36.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003809/0.4143, allocations: 422.7 kB / 0.5094 GB, free: 36.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4144, allocations: 8.5 kB / 0.5094 GB, free: 36.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.4144, allocations: 14.66 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.4146, allocations: 217.3 kB / 0.5096 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.4146, allocations: 384 / 0.5096 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.4146, allocations: 3.156 kB / 0.5096 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.4147, allocations: 59.34 kB / 0.5097 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4148, allocations: 2.938 kB / 0.5097 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.4148, allocations: 0 / 0.5097 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4148, allocations: 3.938 kB / 0.5097 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.404e-05/0.4149, allocations: 24.98 kB / 0.5097 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.4152, allocations: 309.7 kB / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.225e-05/0.4153, allocations: 39.06 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.4153, allocations: 17.91 kB / 0.5101 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.4154, allocations: 2.906 kB / 0.5101 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.4154, allocations: 34.56 kB / 0.5101 GB, free: 35.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.4154, allocations: 3.938 kB / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008298/0.4162, allocations: 223.6 kB / 0.5103 GB, free: 35.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.4162, allocations: 51.41 kB / 0.5104 GB, free: 35.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.4164, allocations: 251 kB / 0.5106 GB, free: 35.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.4164, allocations: 25.7 kB / 0.5107 GB, free: 35.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.4165, allocations: 104.8 kB / 0.5108 GB, free: 35.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.4165, allocations: 25.78 kB / 0.5108 GB, free: 35.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.4165, allocations: 23.41 kB / 0.5108 GB, free: 35.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.4166, allocations: 327.8 kB / 0.5111 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.4167, allocations: 24.59 kB / 0.5111 GB, free: 34.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.4167, allocations: 24.42 kB / 0.5112 GB, free: 34.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.4169, allocations: 60.05 kB / 0.5112 GB, free: 34.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4169, allocations: 0 / 0.5112 GB, free: 34.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001733/0.4171, allocations: 111.1 kB / 0.5113 GB, free: 34.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.4171, allocations: 2.812 kB / 0.5113 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4171, allocations: 2.812 kB / 0.5113 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4171, allocations: 0 / 0.5113 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.4172, allocations: 15.97 kB / 0.5113 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.4172, allocations: 7.938 kB / 0.5113 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.4173, allocations: 8.562 kB / 0.5114 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.4173, allocations: 10.66 kB / 0.5114 GB, free: 34.65 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 (8): * Single equations (assignments): 8 * 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 6.567e-05/0.4173, allocations: 124.5 kB / 0.5115 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.4174, allocations: 13.66 kB / 0.5115 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.4176, allocations: 130 kB / 0.5116 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.4176, allocations: 6.531 kB / 0.5116 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4176, allocations: 3.938 kB / 0.5116 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4176, allocations: 0 / 0.5116 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.418, allocations: 405.5 kB / 0.512 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.418, allocations: 0 / 0.512 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.4181, allocations: 22.19 kB / 0.512 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4181, allocations: 4.031 kB / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.4181, allocations: 2.688 kB / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4181, allocations: 0 / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4181, allocations: 0 / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.4186, allocations: 0.7958 MB / 0.5128 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.4186, allocations: 98.42 kB / 0.5129 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.4186, allocations: 3.281 kB / 0.5129 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.4187, allocations: 2.906 kB / 0.5129 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.4187, allocations: 5.844 kB / 0.5129 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.4187, allocations: 2.594 kB / 0.5129 GB, free: 33.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.4189, allocations: 191.2 kB / 0.5131 GB, free: 33.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.4189, allocations: 0 / 0.5131 GB, free: 33.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003316/0.4192, allocations: 33.91 kB / 0.5131 GB, free: 33.09 MB / 378.7 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 (8): * Single equations (assignments): 8 * 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.0009023/0.4201, allocations: 442.7 kB / 0.5136 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.4203, allocations: 68.06 kB / 0.5136 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4203, allocations: 0 / 0.5136 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.492e-05/0.4204, allocations: 36.03 kB / 0.5137 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.4207, allocations: 22.53 kB / 0.5137 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.4212, allocations: 443.1 kB / 0.5141 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.4213, allocations: 0.7106 MB / 0.5148 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.4214, allocations: 17.58 kB / 0.5148 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.4214, allocations: 17.16 kB / 0.5148 GB, free: 31.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4214, allocations: 0 / 0.5148 GB, free: 31.8 MB / 378.7 MB Notification: Performance of Templates: time 0.003128/0.4245, allocations: 1.309 MB / 0.5161 GB, free: 31.63 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches