Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001527/0.001527, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001653/0.001653, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 72.11 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4279, allocations: 62.45 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002866/0.4308, allocations: 1.605 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000959/0.4317, allocations: 0.5447 MB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.4318, allocations: 5.375 kB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.4321, allocations: 94.36 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.4324, allocations: 110.2 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.4327, allocations: 118.7 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.4329, allocations: 82.31 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.846e-05/0.433, allocations: 16.23 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.4331, allocations: 40.33 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.4332, allocations: 52.61 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.4332, allocations: 3.25 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.476e-05/0.4333, allocations: 49.44 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.4334, allocations: 24.36 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.4334, allocations: 38.19 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.4336, allocations: 107.5 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4336, allocations: 0 / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.332e-06/0.4336, allocations: 1.469 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.4337, allocations: 11.81 kB / 0.5339 GB, free: 11.48 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.0004744/0.4342, allocations: 410.9 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4342, allocations: 9.312 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.4342, allocations: 13.56 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.4345, allocations: 205.4 kB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.4345, allocations: 1.469 kB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.4345, allocations: 6.547 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.4347, allocations: 59.17 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4347, allocations: 1.156 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.4347, allocations: 0 / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.4347, allocations: 1.188 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.4348, allocations: 31.44 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.4353, allocations: 321.4 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.4354, allocations: 48.62 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.4354, allocations: 20.38 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4355, allocations: 1.188 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.4355, allocations: 31.66 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4355, allocations: 4 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009324/0.4364, allocations: 238.1 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.4365, allocations: 53.66 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.4367, allocations: 233.6 kB / 0.5355 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4368, allocations: 31.02 kB / 0.5355 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.4368, allocations: 109.6 kB / 0.5356 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.4369, allocations: 27.73 kB / 0.5356 GB, free: 9.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.4369, allocations: 19.22 kB / 0.5356 GB, free: 9.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.4371, allocations: 327 kB / 0.536 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.593e-05/0.4371, allocations: 28.44 kB / 0.536 GB, free: 9.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.772e-05/0.4372, allocations: 28.78 kB / 0.536 GB, free: 9.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.4374, allocations: 85.89 kB / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4374, allocations: 0 / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000226/0.4376, allocations: 109.9 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4377, allocations: 5.25 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4377, allocations: 0 / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4377, allocations: 1.188 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4378, allocations: 18.02 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4378, allocations: 4 kB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.4379, allocations: 10.98 kB / 0.5362 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.4379, allocations: 2.25 kB / 0.5362 GB, free: 9.312 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 9.509e-05/0.438, allocations: 135.8 kB / 0.5364 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.438, allocations: 13.28 kB / 0.5364 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.4383, allocations: 131.7 kB / 0.5365 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4383, allocations: 5.094 kB / 0.5365 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4384, allocations: 3.938 kB / 0.5365 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.4384, allocations: 8.953 kB / 0.5365 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.4389, allocations: 424.8 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4389, allocations: 0 / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.439, allocations: 22.42 kB / 0.5369 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.439, allocations: 5.25 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.439, allocations: 5.156 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.439, allocations: 1.094 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.439, allocations: 0 / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.4394, allocations: 213.5 kB / 0.5372 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.4394, allocations: 96.91 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.4395, allocations: 5.25 kB / 0.5373 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.4395, allocations: 7.688 kB / 0.5373 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.4396, allocations: 6.422 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.4396, allocations: 10.53 kB / 0.5373 GB, free: 8.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.4397, allocations: 182.2 kB / 0.5375 GB, free: 8.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4397, allocations: 0 / 0.5375 GB, free: 8.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.44, allocations: 23.67 kB / 0.5375 GB, free: 8.219 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.001048/0.441, allocations: 450 kB / 0.5379 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.4413, allocations: 75.25 kB / 0.538 GB, free: 7.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4413, allocations: 0.8438 kB / 0.538 GB, free: 7.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4414, allocations: 48.12 kB / 0.538 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.4418, allocations: 21.77 kB / 0.538 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.4423, allocations: 277.8 kB / 0.5383 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.4426, allocations: 0.717 MB / 0.539 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.648e-05/0.4427, allocations: 25.39 kB / 0.539 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.4428, allocations: 13 kB / 0.5391 GB, free: 6.98 MB / 398.1 MB Notification: Performance of SimCode: time 1.684e-06/0.4428, allocations: 0.9062 kB / 0.5391 GB, free: 6.98 MB / 398.1 MB Notification: Performance of Templates: time 0.004038/0.4468, allocations: 1.398 MB / 0.5404 GB, free: 6.27 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches