Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001231/0.001231, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.11 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 76.09 kB / 481.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4355, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003381/0.439, allocations: 1.621 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.4401, allocations: 0.5479 MB / 0.5331 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.291e-05/0.4402, allocations: 1.312 kB / 0.5331 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.4406, allocations: 81.14 kB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.441, allocations: 110.1 kB / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.4414, allocations: 105.9 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.4416, allocations: 90.11 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.4418, allocations: 15.66 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.4418, allocations: 33.28 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.442, allocations: 58.56 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.442, allocations: 3.469 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.4421, allocations: 45.56 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.4422, allocations: 27.98 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.4422, allocations: 33.12 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.4424, allocations: 110.1 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4425, allocations: 1.375 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4425, allocations: 3.938 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.4425, allocations: 0 / 0.5338 GB, free: 11.47 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.0005789/0.4431, allocations: 405.5 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4431, allocations: 9.625 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.4432, allocations: 12.97 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.4434, allocations: 205.1 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4434, allocations: 9.75 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.4434, allocations: 3.125 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.4436, allocations: 59.55 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4436, allocations: 3.906 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.4436, allocations: 0 / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4437, allocations: 1.375 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.4438, allocations: 28.47 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.4442, allocations: 307 kB / 0.5348 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.4443, allocations: 44.38 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.4444, allocations: 25.17 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.4444, allocations: 1.375 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.4445, allocations: 30.56 kB / 0.5349 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4445, allocations: 1.375 kB / 0.5349 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009639/0.4454, allocations: 249 kB / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.4455, allocations: 56.41 kB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.4458, allocations: 211 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.4458, allocations: 30.77 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.4459, allocations: 105.6 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.4459, allocations: 30.64 kB / 0.5356 GB, free: 9.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.446, allocations: 20.09 kB / 0.5356 GB, free: 9.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4461, allocations: 326.1 kB / 0.5359 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.771e-05/0.4462, allocations: 28.31 kB / 0.5359 GB, free: 9.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.4463, allocations: 28.95 kB / 0.5359 GB, free: 9.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.4465, allocations: 82.59 kB / 0.536 GB, free: 9.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4465, allocations: 0 / 0.536 GB, free: 9.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002379/0.4468, allocations: 113.7 kB / 0.5361 GB, free: 9.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4468, allocations: 5.312 kB / 0.5361 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4468, allocations: 0 / 0.5361 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4468, allocations: 0 / 0.5361 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.4469, allocations: 22.08 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4469, allocations: 1.094 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.447, allocations: 14.67 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.447, allocations: 2.625 kB / 0.5362 GB, free: 9.316 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.507e-05/0.4471, allocations: 124.9 kB / 0.5363 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.4471, allocations: 17.45 kB / 0.5363 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.4475, allocations: 125.8 kB / 0.5364 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4475, allocations: 5.031 kB / 0.5364 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4475, allocations: 0 / 0.5364 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4475, allocations: 5 kB / 0.5364 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.4481, allocations: 423.5 kB / 0.5368 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4481, allocations: 3.984 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.4482, allocations: 18.66 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.4482, allocations: 4.875 kB / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4482, allocations: 5.078 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4482, allocations: 1.125 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4482, allocations: 0.9375 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.4485, allocations: 216 kB / 0.5371 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.4486, allocations: 88.52 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.4486, allocations: 1.062 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.4487, allocations: 7.516 kB / 0.5372 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.4487, allocations: 11.31 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.4487, allocations: 6.406 kB / 0.5372 GB, free: 8.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.4489, allocations: 171.6 kB / 0.5374 GB, free: 8.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4489, allocations: 0 / 0.5374 GB, free: 8.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.4492, allocations: 23.34 kB / 0.5374 GB, free: 8.25 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.001105/0.4503, allocations: 456.5 kB / 0.5378 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.4505, allocations: 75.7 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4505, allocations: 0 / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.779e-05/0.4506, allocations: 43 kB / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.451, allocations: 33.05 kB / 0.538 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.4516, allocations: 267.7 kB / 0.5382 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.4519, allocations: 0.713 MB / 0.5389 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.223e-05/0.452, allocations: 15.62 kB / 0.5389 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.452, allocations: 18.38 kB / 0.5389 GB, free: 7.016 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.452, allocations: 0 / 0.5389 GB, free: 7.016 MB / 398.1 MB Notification: Performance of Templates: time 0.00421/0.4562, allocations: 1.401 MB / 0.5403 GB, free: 6.301 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches