Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001206/0.001206, allocations: 119 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 204.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 246.9 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.2399/0.2399, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 71.89 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4716, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003343/0.475, allocations: 1.602 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.4769, allocations: 1.149 MB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.4769, allocations: 0.9688 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.4772, allocations: 29.12 kB / 0.5337 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.4776, allocations: 77.75 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.4779, allocations: 93.41 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.4781, allocations: 66.98 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.4782, allocations: 22.67 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.4783, allocations: 24.98 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.4784, allocations: 34.91 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.4785, allocations: 4.469 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.4787, allocations: 103 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.4787, allocations: 11.28 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.4788, allocations: 20.42 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.4791, allocations: 151 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4791, allocations: 0 / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4792, allocations: 4 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.4792, allocations: 1.031 kB / 0.5343 GB, free: 11.04 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.000576/0.4797, allocations: 402.8 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4798, allocations: 10 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.4799, allocations: 7.609 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.4801, allocations: 193.2 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4801, allocations: 1.719 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.4801, allocations: 2.781 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.4803, allocations: 75.42 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4803, allocations: 1.375 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4804, allocations: 0 / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4804, allocations: 1.375 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.645e-05/0.4805, allocations: 20.36 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.4809, allocations: 278.7 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.4811, allocations: 56.34 kB / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.4811, allocations: 11.73 kB / 0.5353 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.4812, allocations: 4 kB / 0.5353 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.4812, allocations: 31.94 kB / 0.5354 GB, free: 9.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4812, allocations: 0 / 0.5354 GB, free: 9.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005914/0.4818, allocations: 150 kB / 0.5355 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.4819, allocations: 77.11 kB / 0.5356 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.4821, allocations: 145.4 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.4821, allocations: 25.7 kB / 0.5357 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.4822, allocations: 96.25 kB / 0.5358 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.4822, allocations: 21.17 kB / 0.5359 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.4822, allocations: 15.22 kB / 0.5359 GB, free: 9.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4823, allocations: 328.1 kB / 0.5362 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.941e-05/0.4824, allocations: 18.98 kB / 0.5362 GB, free: 9.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.24e-05/0.4825, allocations: 30.08 kB / 0.5362 GB, free: 9.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.4826, allocations: 48.55 kB / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4826, allocations: 0 / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001843/0.4828, allocations: 84.84 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4829, allocations: 5.531 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4829, allocations: 4.188 kB / 0.5364 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4829, allocations: 0 / 0.5364 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.483, allocations: 17.7 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.483, allocations: 1.219 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.483, allocations: 7.328 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.4831, allocations: 4.906 kB / 0.5364 GB, free: 8.984 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 9.777e-05/0.4832, allocations: 118.2 kB / 0.5365 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.4832, allocations: 7.141 kB / 0.5365 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.4835, allocations: 93.22 kB / 0.5366 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4835, allocations: 1.125 kB / 0.5366 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4835, allocations: 0 / 0.5366 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4835, allocations: 1.094 kB / 0.5366 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.4839, allocations: 354 kB / 0.5369 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.484, allocations: 3.938 kB / 0.5369 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-05/0.484, allocations: 13.67 kB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.484, allocations: 4.906 kB / 0.537 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.4841, allocations: 1.031 kB / 0.537 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4841, allocations: 3.938 kB / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4841, allocations: 1.062 kB / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.4843, allocations: 176 kB / 0.5371 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.4844, allocations: 90.33 kB / 0.5372 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.4844, allocations: 1.312 kB / 0.5372 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.4845, allocations: 6.594 kB / 0.5372 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.4845, allocations: 6.734 kB / 0.5372 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.4845, allocations: 1.156 kB / 0.5372 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.986e-05/0.4846, allocations: 113 kB / 0.5373 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.4846, allocations: 0 / 0.5373 GB, free: 8.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000299/0.4849, allocations: 43.11 kB / 0.5374 GB, free: 8.035 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.001221/0.4862, allocations: 0.4995 MB / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.4864, allocations: 44.25 kB / 0.5379 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4864, allocations: 0 / 0.5379 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.4865, allocations: 27.95 kB / 0.5379 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.4869, allocations: 18.55 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.4873, allocations: 159.7 kB / 0.5381 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.4876, allocations: 0.6929 MB / 0.5388 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.637e-05/0.4877, allocations: 14.98 kB / 0.5388 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.4877, allocations: 17.64 kB / 0.5388 GB, free: 6.863 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4878, allocations: 0.8125 kB / 0.5388 GB, free: 6.863 MB / 398.1 MB Notification: Performance of Templates: time 0.004939/0.4927, allocations: 1.763 MB / 0.5405 GB, free: 5.941 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches