Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, 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.001596/0.001596, allocations: 208.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2236/0.2236, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 79.86 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4198, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003271/0.4231, allocations: 1.606 MB / 0.5332 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.4249, allocations: 1.156 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.425, allocations: 1.375 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.4252, allocations: 19.98 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.4256, allocations: 85.73 kB / 0.5345 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.4259, allocations: 94.31 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.4261, allocations: 63.34 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.4262, allocations: 17.42 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.4263, allocations: 30.91 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.4265, allocations: 26.86 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.4265, allocations: 2.75 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.4267, allocations: 104.1 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.4268, allocations: 10.69 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.4269, allocations: 29.34 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.4272, allocations: 138.5 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4272, allocations: 0 / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4272, allocations: 0 / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.4272, allocations: 0 / 0.535 GB, free: 11.06 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005662/0.4278, allocations: 403.7 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4278, allocations: 9.625 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.4279, allocations: 8.969 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.4281, allocations: 198.3 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4281, allocations: 1.75 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.4282, allocations: 1.75 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.4284, allocations: 63.91 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4284, allocations: 9.359 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.4284, allocations: 0 / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.4284, allocations: 1.375 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.4285, allocations: 32.22 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.4289, allocations: 271.3 kB / 0.5359 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.4292, allocations: 39.81 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.732e-05/0.4292, allocations: 23.41 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.4293, allocations: 5.094 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.4293, allocations: 35.78 kB / 0.536 GB, free: 9.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.4293, allocations: 0 / 0.536 GB, free: 9.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005927/0.4299, allocations: 141 kB / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.43, allocations: 82.2 kB / 0.5362 GB, free: 9.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.4302, allocations: 147.5 kB / 0.5364 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.4302, allocations: 26.7 kB / 0.5364 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.4303, allocations: 95.94 kB / 0.5365 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.4303, allocations: 16.78 kB / 0.5365 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.4303, allocations: 18.38 kB / 0.5365 GB, free: 9.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4305, allocations: 325.2 kB / 0.5368 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-05/0.4306, allocations: 23.02 kB / 0.5369 GB, free: 9.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.347e-05/0.4306, allocations: 30.55 kB / 0.5369 GB, free: 9.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.4308, allocations: 43.3 kB / 0.5369 GB, free: 9.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4308, allocations: 1.062 kB / 0.5369 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001927/0.431, allocations: 80.05 kB / 0.537 GB, free: 9.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.431, allocations: 5.594 kB / 0.537 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.431, allocations: 4.031 kB / 0.537 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.431, allocations: 1.219 kB / 0.537 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.4311, allocations: 13.27 kB / 0.537 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4311, allocations: 1.156 kB / 0.537 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.4312, allocations: 11.23 kB / 0.537 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.4312, allocations: 5.062 kB / 0.537 GB, free: 9.008 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 (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 0.0001072/0.4313, allocations: 113.3 kB / 0.5371 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.4313, allocations: 8.312 kB / 0.5372 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.4316, allocations: 100.9 kB / 0.5373 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4316, allocations: 1.062 kB / 0.5373 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4316, allocations: 0 / 0.5373 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4316, allocations: 0 / 0.5373 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.4321, allocations: 358.6 kB / 0.5376 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4321, allocations: 1.156 kB / 0.5376 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.4322, allocations: 17.31 kB / 0.5376 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4322, allocations: 3.938 kB / 0.5376 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.4322, allocations: 5.078 kB / 0.5376 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.4322, allocations: 4.969 kB / 0.5376 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4322, allocations: 0 / 0.5376 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.4324, allocations: 171.9 kB / 0.5378 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.4325, allocations: 83.12 kB / 0.5379 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.4325, allocations: 5 kB / 0.5379 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.4326, allocations: 7.844 kB / 0.5379 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.4327, allocations: 5.031 kB / 0.5379 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.4327, allocations: 5.984 kB / 0.5379 GB, free: 8.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.4328, allocations: 112.1 kB / 0.538 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4328, allocations: 1.281 kB / 0.538 GB, free: 8.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.4331, allocations: 42.8 kB / 0.538 GB, free: 8.051 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.001188/0.4343, allocations: 492.9 kB / 0.5385 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.4345, allocations: 51.19 kB / 0.5386 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4345, allocations: 1.406 kB / 0.5386 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.4346, allocations: 23.27 kB / 0.5386 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.435, allocations: 28.41 kB / 0.5386 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.4354, allocations: 192.4 kB / 0.5388 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.4358, allocations: 0.6926 MB / 0.5395 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.4359, allocations: 23.02 kB / 0.5395 GB, free: 6.859 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4359, allocations: 0 / 0.5395 GB, free: 6.859 MB / 398.1 MB Notification: Performance of Templates: time 0.005288/0.4412, allocations: 1.927 MB / 0.5414 GB, free: 5.867 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches