Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 122.2 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.001297/0.001297, allocations: 201.2 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.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 75.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3943, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003028/0.3974, allocations: 1.594 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3984, allocations: 0.5421 MB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.3985, allocations: 1.219 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.3988, allocations: 27.06 kB / 0.5331 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.3992, allocations: 84.98 kB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.3995, allocations: 110.8 kB / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.3997, allocations: 61.83 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3998, allocations: 14.88 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.3999, allocations: 25.48 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.853e-05/0.3999, allocations: 25.34 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.3999, allocations: 2.75 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.365e-05/0.4, allocations: 36.61 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.4001, allocations: 17.38 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.4002, allocations: 25.3 kB / 0.5335 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.4004, allocations: 82.03 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4004, allocations: 4 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.4004, allocations: 1.375 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.4004, allocations: 3.938 kB / 0.5336 GB, free: 11.59 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.0005345/0.4009, allocations: 388.1 kB / 0.534 GB, free: 11.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.401, allocations: 9.625 kB / 0.534 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.401, allocations: 8.969 kB / 0.534 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.4012, allocations: 201.3 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4013, allocations: 5.688 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.4013, allocations: 9.297 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.4014, allocations: 52.67 kB / 0.5342 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.4015, allocations: 4 kB / 0.5342 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.4015, allocations: 1.375 kB / 0.5342 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4015, allocations: 0 / 0.5342 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.703e-05/0.4016, allocations: 21.73 kB / 0.5343 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.402, allocations: 285.6 kB / 0.5345 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.4022, allocations: 52.38 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.4023, allocations: 17.19 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.4023, allocations: 0 / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.4023, allocations: 31.94 kB / 0.5346 GB, free: 10.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4023, allocations: 0 / 0.5346 GB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000566/0.4029, allocations: 159.2 kB / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.403, allocations: 52.78 kB / 0.5348 GB, free: 10.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.4032, allocations: 183 kB / 0.535 GB, free: 10.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.4032, allocations: 25.7 kB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.4032, allocations: 100.2 kB / 0.5351 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.4033, allocations: 18.55 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.4033, allocations: 13.84 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4034, allocations: 329.5 kB / 0.5355 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/0.4035, allocations: 23.98 kB / 0.5355 GB, free: 9.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.4036, allocations: 19.83 kB / 0.5355 GB, free: 9.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.4037, allocations: 55.27 kB / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4037, allocations: 0 / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001869/0.4039, allocations: 88.19 kB / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.404, allocations: 11.97 kB / 0.5357 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.404, allocations: 0 / 0.5357 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.404, allocations: 1.625 kB / 0.5357 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.4041, allocations: 12.55 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4041, allocations: 1.062 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/0.4041, allocations: 10.34 kB / 0.5357 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.4041, allocations: 2.594 kB / 0.5357 GB, free: 9.578 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.821e-05/0.4042, allocations: 127.9 kB / 0.5358 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.4043, allocations: 12.5 kB / 0.5358 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.4045, allocations: 97.64 kB / 0.5359 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.4045, allocations: 1.188 kB / 0.5359 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4045, allocations: 0 / 0.5359 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4046, allocations: 4.25 kB / 0.5359 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.405, allocations: 362 kB / 0.5363 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.405, allocations: 0 / 0.5363 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.4051, allocations: 18.02 kB / 0.5363 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4051, allocations: 0 / 0.5363 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4051, allocations: 4.938 kB / 0.5363 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4051, allocations: 1.219 kB / 0.5363 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4051, allocations: 0 / 0.5363 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.4053, allocations: 186.6 kB / 0.5365 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.4054, allocations: 87.08 kB / 0.5366 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.4054, allocations: 8.969 kB / 0.5366 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.4055, allocations: 7.359 kB / 0.5366 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.4055, allocations: 2.406 kB / 0.5366 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.4055, allocations: 1.469 kB / 0.5366 GB, free: 8.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.4056, allocations: 140.8 kB / 0.5367 GB, free: 8.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4057, allocations: 0 / 0.5367 GB, free: 8.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.4059, allocations: 19.28 kB / 0.5367 GB, free: 8.613 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.000904/0.4068, allocations: 404.2 kB / 0.5371 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.407, allocations: 50.66 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4071, allocations: 3.938 kB / 0.5372 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/0.4071, allocations: 32.62 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.4075, allocations: 15.41 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.408, allocations: 202.5 kB / 0.5374 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.4083, allocations: 0.6984 MB / 0.5381 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.395e-05/0.4083, allocations: 19.53 kB / 0.5381 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.4084, allocations: 12.84 kB / 0.5381 GB, free: 7.465 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4084, allocations: 0 / 0.5381 GB, free: 7.465 MB / 398.1 MB Notification: Performance of Templates: time 0.003657/0.412, allocations: 1.13 MB / 0.5392 GB, free: 6.887 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches