Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001634/0.001634, allocations: 117.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.00214/0.00214, allocations: 204.6 kB / 18.74 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.492/1.492, allocations: 227.4 MB / 246.9 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.2407/0.2407, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 75.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4704, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003928/0.4744, allocations: 1.628 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.4765, allocations: 1.157 MB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.4765, allocations: 0.5938 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.4769, allocations: 24.94 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.4772, allocations: 89.89 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.4775, allocations: 86.7 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.4777, allocations: 82.25 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.4778, allocations: 16.86 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.4779, allocations: 27.83 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.4781, allocations: 41.91 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.4781, allocations: 5.25 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.4783, allocations: 100.2 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.4784, allocations: 15.5 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.4785, allocations: 34.41 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.4787, allocations: 141.7 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4788, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4788, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.4788, allocations: 0 / 0.5344 GB, free: 11.03 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006031/0.4794, allocations: 425.2 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4794, allocations: 12.25 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.4795, allocations: 8.969 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.4798, allocations: 195.2 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.4798, allocations: 1.75 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.4799, allocations: 7.031 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.4801, allocations: 81.38 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.4802, allocations: 0 / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.4802, allocations: 3.938 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4802, allocations: 5.375 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.4803, allocations: 31.22 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.4808, allocations: 293.6 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.481, allocations: 51.12 kB / 0.5354 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.361e-05/0.4811, allocations: 22.59 kB / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.4811, allocations: 5.375 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.4812, allocations: 35.94 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4812, allocations: 0 / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007775/0.4819, allocations: 173 kB / 0.5356 GB, free: 9.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.482, allocations: 78.64 kB / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.4822, allocations: 172.1 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.4823, allocations: 25.7 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.4823, allocations: 96.28 kB / 0.536 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.4824, allocations: 22.03 kB / 0.536 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.4824, allocations: 24.14 kB / 0.536 GB, free: 9.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4826, allocations: 317 kB / 0.5364 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.4827, allocations: 22.11 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-05/0.4828, allocations: 47 kB / 0.5364 GB, free: 9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.483, allocations: 67.66 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.483, allocations: 1.5 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002304/0.4833, allocations: 98.38 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4833, allocations: 9.609 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4833, allocations: 3.938 kB / 0.5366 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.4833, allocations: 9.078 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.4835, allocations: 22.42 kB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4835, allocations: 0 / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.4835, allocations: 11.44 kB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.4835, allocations: 2.219 kB / 0.5366 GB, free: 8.867 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.0001054/0.4837, allocations: 119.7 kB / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.4839, allocations: 15.8 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.4842, allocations: 109.9 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4842, allocations: 4.984 kB / 0.5369 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4842, allocations: 0 / 0.5369 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4842, allocations: 8.875 kB / 0.5369 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.4847, allocations: 387.2 kB / 0.5372 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4847, allocations: 1.125 kB / 0.5373 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.4849, allocations: 17.58 kB / 0.5373 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.4849, allocations: 3.938 kB / 0.5373 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.4849, allocations: 5.188 kB / 0.5373 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.485, allocations: 1 kB / 0.5373 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.485, allocations: 1.062 kB / 0.5373 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.4852, allocations: 198.4 kB / 0.5375 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.4853, allocations: 83.17 kB / 0.5375 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.4853, allocations: 8.969 kB / 0.5376 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.4854, allocations: 11.33 kB / 0.5376 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.4855, allocations: 3.531 kB / 0.5376 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.4855, allocations: 2.406 kB / 0.5376 GB, free: 7.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.4856, allocations: 122.5 kB / 0.5377 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4856, allocations: 0 / 0.5377 GB, free: 7.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.4859, allocations: 42.14 kB / 0.5377 GB, free: 7.867 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 (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.001181/0.4871, allocations: 488.7 kB / 0.5382 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.4874, allocations: 70.73 kB / 0.5383 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4874, allocations: 5.094 kB / 0.5383 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.4875, allocations: 37.78 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.4879, allocations: 15.22 kB / 0.5383 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.4884, allocations: 189.5 kB / 0.5385 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4888, allocations: 0.6923 MB / 0.5392 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.795e-05/0.4889, allocations: 34.3 kB / 0.5392 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.4889, allocations: 18.62 kB / 0.5392 GB, free: 6.664 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.489, allocations: 1.344 kB / 0.5392 GB, free: 6.664 MB / 398.1 MB Notification: Performance of Templates: time 0.005479/0.4944, allocations: 1.847 MB / 0.541 GB, free: 5.707 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches