Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.001487/0.001488, allocations: 184.8 kB / 18.7 MB, free: 4.359 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.444/1.444, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2212/0.2212, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 63.84 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4301, allocations: 60.83 MB / 0.5189 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003131/0.4333, allocations: 1.563 MB / 0.5204 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008637/0.4342, allocations: 400.3 kB / 0.5208 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.495e-05/0.4343, allocations: 1.25 kB / 0.5208 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.4346, allocations: 27.8 kB / 0.5209 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.4348, allocations: 35.95 kB / 0.5209 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.4351, allocations: 83.69 kB / 0.521 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.4353, allocations: 59.08 kB / 0.521 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.4355, allocations: 7.391 kB / 0.521 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.4355, allocations: 23.5 kB / 0.5211 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.4356, allocations: 19.77 kB / 0.5211 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.4357, allocations: 6.406 kB / 0.5211 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.4358, allocations: 38.14 kB / 0.5211 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.305e-05/0.4358, allocations: 8.938 kB / 0.5211 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.4359, allocations: 21 kB / 0.5211 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.4361, allocations: 68.27 kB / 0.5212 GB, free: 2.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4361, allocations: 1.281 kB / 0.5212 GB, free: 2.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4361, allocations: 0 / 0.5212 GB, free: 2.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.4361, allocations: 0 / 0.5212 GB, free: 2.336 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004175/0.4366, allocations: 383.7 kB / 0.5216 GB, free: 1.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4366, allocations: 13.06 kB / 0.5216 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.4367, allocations: 8.344 kB / 0.5216 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.4368, allocations: 188.1 kB / 0.5218 GB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4368, allocations: 6.328 kB / 0.5218 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.4368, allocations: 2.688 kB / 0.5218 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.437, allocations: 49.06 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.437, allocations: 0 / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.437, allocations: 1.547 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.437, allocations: 3.938 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.886e-05/0.4371, allocations: 30.94 kB / 0.5219 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.4375, allocations: 272.1 kB / 0.5221 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.4377, allocations: 39.53 kB / 0.5222 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.4378, allocations: 17.56 kB / 0.5222 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.4378, allocations: 0.875 kB / 0.5222 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.4378, allocations: 40.58 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.4378, allocations: 0 / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005735/0.4384, allocations: 128 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.4384, allocations: 60.47 kB / 0.5224 GB, free: 1.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.4386, allocations: 139.5 kB / 0.5225 GB, free: 1.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.4386, allocations: 27.02 kB / 0.5226 GB, free: 1.031 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.4387, allocations: 100.1 kB / 0.5226 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.4387, allocations: 15.73 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.4387, allocations: 18.7 kB / 0.5227 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.4388, allocations: 323.7 kB / 0.523 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.4389, allocations: 14.69 kB / 0.523 GB, free: 0.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.922e-05/0.4389, allocations: 18.45 kB / 0.523 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.4391, allocations: 50.78 kB / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4391, allocations: 0 / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001708/0.4392, allocations: 81.14 kB / 0.5231 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4393, allocations: 5.656 kB / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4393, allocations: 288 / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.4393, allocations: 0.7031 kB / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.4394, allocations: 12.38 kB / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4394, allocations: 4.906 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.4394, allocations: 9.797 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.4394, allocations: 0.9375 kB / 0.5232 GB, free: 0.5 MB / 382.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 (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 6.685e-05/0.4395, allocations: 119.5 kB / 0.5233 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.4395, allocations: 11.08 kB / 0.5233 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.4398, allocations: 97.2 kB / 0.5234 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4398, allocations: 1.281 kB / 0.5234 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4398, allocations: 0 / 0.5234 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4398, allocations: 2.016 kB / 0.5234 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.4402, allocations: 344.4 kB / 0.5237 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4402, allocations: 0 / 0.5237 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.4403, allocations: 12.92 kB / 0.5237 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4403, allocations: 1.875 kB / 0.5237 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.4403, allocations: 4.703 kB / 0.5237 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4403, allocations: 3.938 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4403, allocations: 3.938 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.4406, allocations: 177.9 kB / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.4406, allocations: 83.25 kB / 0.524 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.4406, allocations: 1.312 kB / 0.524 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.4407, allocations: 8.953 kB / 0.524 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.4408, allocations: 3.688 kB / 0.524 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.4408, allocations: 1.984 kB / 0.524 GB, free: 15.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.4409, allocations: 115.7 kB / 0.5241 GB, free: 15.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4409, allocations: 0 / 0.5241 GB, free: 15.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.4411, allocations: 19.28 kB / 0.5241 GB, free: 15.62 MB / 398.1 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.001006/0.4422, allocations: 398 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.4424, allocations: 47.33 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4424, allocations: 0 / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.973e-05/0.4425, allocations: 27.53 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.4428, allocations: 32.06 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.4433, allocations: 161.8 kB / 0.5248 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.4436, allocations: 0.693 MB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.014e-05/0.4437, allocations: 14.14 kB / 0.5255 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.4437, allocations: 16.92 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4437, allocations: 0 / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of Templates: time 0.004353/0.4481, allocations: 1.096 MB / 0.5266 GB, free: 14.39 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches