Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001542/0.001548, allocations: 122.8 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.001904/0.001904, allocations: 202 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.465/1.465, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2176/0.2176, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 72.11 kB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3893, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003123/0.3925, allocations: 1.622 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009852/0.3935, allocations: 0.5323 MB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.3936, allocations: 1.25 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.3939, allocations: 81.69 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.3942, allocations: 97.91 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.3945, allocations: 98.94 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.3947, allocations: 88.06 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3948, allocations: 16.67 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.213e-05/0.3949, allocations: 32.47 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.395, allocations: 51.58 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.395, allocations: 3.719 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3951, allocations: 48.16 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.3952, allocations: 23.98 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.3953, allocations: 37.42 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.3955, allocations: 106.5 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3955, allocations: 0 / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3955, allocations: 3.938 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3955, allocations: 0 / 0.5338 GB, free: 11.51 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.000497/0.396, allocations: 413.2 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.396, allocations: 9.625 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.3961, allocations: 10.34 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.3963, allocations: 207.8 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.3964, allocations: 5.688 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3964, allocations: 7.125 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3965, allocations: 50.19 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.3966, allocations: 9.266 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3966, allocations: 0 / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3966, allocations: 1.375 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.579e-05/0.3967, allocations: 27.11 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.3972, allocations: 298.8 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3973, allocations: 43.06 kB / 0.5348 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/0.3974, allocations: 15.81 kB / 0.5348 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.3974, allocations: 1.375 kB / 0.5348 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.3975, allocations: 35.94 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.3975, allocations: 0 / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008355/0.3983, allocations: 230 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3984, allocations: 52.78 kB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.3986, allocations: 222.5 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.3986, allocations: 29.7 kB / 0.5354 GB, free: 9.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.3987, allocations: 106.2 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.3987, allocations: 23.22 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.3987, allocations: 27.61 kB / 0.5355 GB, free: 9.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3989, allocations: 322.1 kB / 0.5358 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.619e-05/0.3989, allocations: 21.42 kB / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.399, allocations: 26.17 kB / 0.5359 GB, free: 9.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3992, allocations: 64.89 kB / 0.5359 GB, free: 9.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3992, allocations: 0 / 0.5359 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001963/0.3994, allocations: 99.55 kB / 0.536 GB, free: 9.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3994, allocations: 5.688 kB / 0.536 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3994, allocations: 0 / 0.536 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3994, allocations: 5.25 kB / 0.536 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3995, allocations: 17.33 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3996, allocations: 1.469 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.3996, allocations: 15.16 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3996, allocations: 6.391 kB / 0.5361 GB, free: 9.383 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.727e-05/0.3997, allocations: 124.1 kB / 0.5362 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.3998, allocations: 12.69 kB / 0.5362 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.4, allocations: 124.6 kB / 0.5363 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.4001, allocations: 5 kB / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4001, allocations: 0 / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.4001, allocations: 11.88 kB / 0.5364 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.4007, allocations: 399.8 kB / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4007, allocations: 0 / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.317e-05/0.4008, allocations: 18.48 kB / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.4008, allocations: 5.094 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.4008, allocations: 5.219 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4008, allocations: 1.188 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4008, allocations: 4.031 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.4011, allocations: 204.8 kB / 0.537 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.4012, allocations: 87.27 kB / 0.537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.4012, allocations: 6.203 kB / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.4013, allocations: 7.375 kB / 0.5371 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.4013, allocations: 10.45 kB / 0.5371 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.4014, allocations: 7.562 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.4015, allocations: 166.4 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4015, allocations: 1.688 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.4019, allocations: 21.31 kB / 0.5373 GB, free: 8.332 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.001024/0.4029, allocations: 455.1 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.4031, allocations: 65.8 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4031, allocations: 1.281 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/0.4032, allocations: 33.73 kB / 0.5378 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.4036, allocations: 30.58 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.4041, allocations: 258.1 kB / 0.5381 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.4044, allocations: 0.7073 MB / 0.5387 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.798e-05/0.4045, allocations: 15.25 kB / 0.5388 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.4045, allocations: 21.89 kB / 0.5388 GB, free: 7.109 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4045, allocations: 0 / 0.5388 GB, free: 7.109 MB / 398.1 MB Notification: Performance of Templates: time 0.004271/0.4088, allocations: 1.362 MB / 0.5401 GB, free: 6.414 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches