Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001489/0.001489, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00178/0.00178, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 76.09 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.427, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.00325/0.4303, allocations: 1.621 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.4315, allocations: 0.5513 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.4315, allocations: 1.156 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.4318, allocations: 78.67 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.4322, allocations: 104.9 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.4325, allocations: 110.4 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.4327, allocations: 84.88 kB / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.4328, allocations: 29.59 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.633e-05/0.4329, allocations: 27.05 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.433, allocations: 56.69 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.4331, allocations: 2.75 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.4332, allocations: 46.23 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.4332, allocations: 18.8 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.4333, allocations: 38.55 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.4335, allocations: 110.1 kB / 0.5345 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4335, allocations: 0 / 0.5345 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4335, allocations: 0 / 0.5345 GB, free: 11.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4335, allocations: 4 kB / 0.5345 GB, free: 11.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005285/0.4341, allocations: 413.5 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4341, allocations: 9.625 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.4342, allocations: 10.34 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.4344, allocations: 201.2 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.4344, allocations: 5.688 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.4344, allocations: 1.75 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.4346, allocations: 59.55 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4346, allocations: 7.906 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4346, allocations: 5.359 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4346, allocations: 0 / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.93e-05/0.4347, allocations: 28.48 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.4352, allocations: 300.4 kB / 0.5355 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.4353, allocations: 48.38 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/0.4354, allocations: 19.81 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.4354, allocations: 9.312 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.4354, allocations: 31.94 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4354, allocations: 0 / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009177/0.4364, allocations: 242.5 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.4364, allocations: 56.38 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.4367, allocations: 218.9 kB / 0.5361 GB, free: 9.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.4367, allocations: 25.7 kB / 0.5361 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.4367, allocations: 106 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.4368, allocations: 30.83 kB / 0.5362 GB, free: 9.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.4368, allocations: 24.42 kB / 0.5362 GB, free: 9.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.437, allocations: 326.3 kB / 0.5366 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.4371, allocations: 27.7 kB / 0.5366 GB, free: 9.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.25e-05/0.4371, allocations: 29.28 kB / 0.5366 GB, free: 9.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.4373, allocations: 69.98 kB / 0.5367 GB, free: 9.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4373, allocations: 0 / 0.5367 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002177/0.4375, allocations: 112.8 kB / 0.5368 GB, free: 9.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4376, allocations: 6.25 kB / 0.5368 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4376, allocations: 7.984 kB / 0.5368 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4376, allocations: 9.016 kB / 0.5368 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.4377, allocations: 13.78 kB / 0.5368 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.4377, allocations: 3.984 kB / 0.5368 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.4378, allocations: 7.281 kB / 0.5368 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.4378, allocations: 2.375 kB / 0.5368 GB, free: 9.336 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.000111/0.4379, allocations: 133.2 kB / 0.537 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.4379, allocations: 12.5 kB / 0.537 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.4382, allocations: 138.9 kB / 0.5371 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4383, allocations: 1.375 kB / 0.5371 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4383, allocations: 0 / 0.5371 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-06/0.4383, allocations: 3.938 kB / 0.5371 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.4388, allocations: 424.6 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4388, allocations: 0 / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.722e-05/0.4389, allocations: 17.61 kB / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4389, allocations: 5.531 kB / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.4389, allocations: 1.281 kB / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4389, allocations: 0.8125 kB / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.439, allocations: 1.438 kB / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.4392, allocations: 219.8 kB / 0.5378 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.4393, allocations: 93.12 kB / 0.5378 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.4393, allocations: 5.375 kB / 0.5378 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.726e-05/0.4394, allocations: 2.75 kB / 0.5379 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.4394, allocations: 7.672 kB / 0.5379 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.4394, allocations: 2.594 kB / 0.5379 GB, free: 8.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.4396, allocations: 174.5 kB / 0.538 GB, free: 8.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4396, allocations: 4.969 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.4398, allocations: 22.88 kB / 0.5381 GB, free: 8.258 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.00107/0.4409, allocations: 451.4 kB / 0.5385 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.4412, allocations: 82.53 kB / 0.5386 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4412, allocations: 1.156 kB / 0.5386 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.878e-05/0.4413, allocations: 40.48 kB / 0.5386 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.4417, allocations: 21.69 kB / 0.5386 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.4422, allocations: 295.3 kB / 0.5389 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.4425, allocations: 0.7116 MB / 0.5396 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.4426, allocations: 14.56 kB / 0.5396 GB, free: 7.012 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4426, allocations: 0 / 0.5396 GB, free: 7.012 MB / 398.1 MB Notification: Performance of Templates: time 0.003826/0.4464, allocations: 1.818 MB / 0.5414 GB, free: 6.074 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches