Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001814/0.001824, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 184.2 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2201/0.2201, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 55.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4255, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003602/0.4292, allocations: 1.588 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009316/0.4302, allocations: 410.7 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.4302, allocations: 1.25 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004544/0.4307, allocations: 120.3 kB / 0.521 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.431, allocations: 89.88 kB / 0.5211 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.4313, allocations: 77.53 kB / 0.5211 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.4316, allocations: 89.77 kB / 0.5212 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.4317, allocations: 19.44 kB / 0.5213 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/0.4318, allocations: 47.7 kB / 0.5213 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.432, allocations: 79.28 kB / 0.5214 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.432, allocations: 3.344 kB / 0.5214 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.4322, allocations: 48.25 kB / 0.5214 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.398e-05/0.4322, allocations: 22.59 kB / 0.5214 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.4323, allocations: 35.95 kB / 0.5215 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.4326, allocations: 123.8 kB / 0.5216 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4326, allocations: 4 kB / 0.5216 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4326, allocations: 0 / 0.5216 GB, free: 1.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4326, allocations: 0 / 0.5216 GB, free: 1.977 MB / 382.1 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.0005787/0.4332, allocations: 425.9 kB / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.4332, allocations: 10 kB / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.4333, allocations: 9.812 kB / 0.522 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.4335, allocations: 205.3 kB / 0.5222 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.4335, allocations: 1.625 kB / 0.5222 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.4336, allocations: 6.594 kB / 0.5222 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.4337, allocations: 60 kB / 0.5223 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4338, allocations: 1.031 kB / 0.5223 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.4338, allocations: 1.812 kB / 0.5223 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4338, allocations: 0 / 0.5223 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.4339, allocations: 25.14 kB / 0.5223 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.4343, allocations: 299.4 kB / 0.5226 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.4344, allocations: 55.58 kB / 0.5227 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.4345, allocations: 14.94 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.4345, allocations: 5.109 kB / 0.5227 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.4345, allocations: 36.08 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.4345, allocations: 0 / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001015/0.4356, allocations: 232.4 kB / 0.5229 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.4356, allocations: 53.17 kB / 0.523 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.4359, allocations: 278.9 kB / 0.5232 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.4359, allocations: 25.7 kB / 0.5233 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.436, allocations: 113.8 kB / 0.5234 GB, free: 460 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.4361, allocations: 26.06 kB / 0.5234 GB, free: 440 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.4361, allocations: 28.36 kB / 0.5234 GB, free: 412 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.4362, allocations: 324.7 kB / 0.5237 GB, free: 88 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.4363, allocations: 23.56 kB / 0.5238 GB, free: 84 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.557e-05/0.4363, allocations: 28.59 kB / 0.5238 GB, free: 72 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.4365, allocations: 59.45 kB / 0.5238 GB, free: 48 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4365, allocations: 4 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002217/0.4367, allocations: 106.6 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4368, allocations: 6.578 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4368, allocations: 0 / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4368, allocations: 1.094 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.4369, allocations: 16.7 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4369, allocations: 13.91 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.437, allocations: 4.484 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.437, allocations: 6.844 kB / 0.524 GB, free: 15.97 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 (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 0.0001123/0.4371, allocations: 132.8 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.4371, allocations: 13.66 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.4374, allocations: 118.3 kB / 0.5242 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4374, allocations: 1.312 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4374, allocations: 3.938 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.4375, allocations: 0.8906 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.438, allocations: 410.7 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.438, allocations: 1.406 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.4381, allocations: 24.73 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4381, allocations: 1.062 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4381, allocations: 5.062 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4381, allocations: 1.938 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4382, allocations: 1.219 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.4384, allocations: 203.1 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.4385, allocations: 93.92 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.4385, allocations: 1.75 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.4386, allocations: 12.48 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.4386, allocations: 10.78 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.4386, allocations: 5.594 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.4388, allocations: 206.2 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4388, allocations: 3.938 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.4391, allocations: 23.06 kB / 0.5252 GB, free: 15 MB / 398.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 (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.001075/0.4402, allocations: 460.6 kB / 0.5257 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.4404, allocations: 64.7 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4404, allocations: 0 / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.4405, allocations: 35.52 kB / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.4409, allocations: 20.27 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.4415, allocations: 307.2 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.4418, allocations: 0.7172 MB / 0.5268 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.322e-05/0.4419, allocations: 8.703 kB / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.4419, allocations: 19.06 kB / 0.5268 GB, free: 13.83 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4419, allocations: 0 / 0.5268 GB, free: 13.83 MB / 398.1 MB Notification: Performance of Templates: time 0.00432/0.4462, allocations: 1.355 MB / 0.5281 GB, free: 13.39 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches