Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00191/0.00191, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002151/0.002151, allocations: 207.9 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 83.86 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.404, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003936/0.408, allocations: 1.628 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.4092, allocations: 0.5392 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.4092, allocations: 1.375 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000632/0.4099, allocations: 453.3 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.4104, allocations: 284.7 kB / 0.5338 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.4107, allocations: 139.7 kB / 0.534 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.4111, allocations: 166.9 kB / 0.5341 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.4112, allocations: 13.8 kB / 0.5341 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.4114, allocations: 106.1 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.4118, allocations: 214.9 kB / 0.5344 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.4118, allocations: 4.125 kB / 0.5344 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.885e-05/0.4119, allocations: 23.11 kB / 0.5345 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.412, allocations: 82.19 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.4122, allocations: 107.1 kB / 0.5346 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.4126, allocations: 244.5 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.471e-05/0.4126, allocations: 5.266 kB / 0.5349 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4126, allocations: 0 / 0.5349 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.4126, allocations: 4 kB / 0.5349 GB, free: 11.01 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.00111/0.4137, allocations: 0.6371 MB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.065e-05/0.4138, allocations: 9.781 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.4139, allocations: 42.62 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.4143, allocations: 289.8 kB / 0.5358 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.4143, allocations: 5.406 kB / 0.5358 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.4144, allocations: 5.375 kB / 0.5358 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.4146, allocations: 63.58 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4146, allocations: 0 / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4146, allocations: 0 / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4147, allocations: 5.672 kB / 0.5359 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.4148, allocations: 33.44 kB / 0.5359 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.4154, allocations: 382.6 kB / 0.5363 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.4156, allocations: 40.41 kB / 0.5363 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.817e-05/0.4157, allocations: 23.78 kB / 0.5364 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.4157, allocations: 0 / 0.5364 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.4158, allocations: 31.69 kB / 0.5364 GB, free: 9.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.806e-06/0.4158, allocations: 1 kB / 0.5364 GB, free: 9.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004116/0.4162, allocations: 121 kB / 0.5365 GB, free: 9.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.4163, allocations: 56.75 kB / 0.5366 GB, free: 9.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009809/0.4172, allocations: 0.8613 MB / 0.5374 GB, free: 9.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.4173, allocations: 26.83 kB / 0.5374 GB, free: 8.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.4175, allocations: 215.2 kB / 0.5376 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.4175, allocations: 5.031 kB / 0.5376 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.4175, allocations: 16.8 kB / 0.5377 GB, free: 8.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4177, allocations: 364.2 kB / 0.538 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.84e-05/0.4178, allocations: 20.27 kB / 0.538 GB, free: 8.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.4178, allocations: 13.17 kB / 0.538 GB, free: 8.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.418, allocations: 44.73 kB / 0.5381 GB, free: 8.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.418, allocations: 0 / 0.5381 GB, free: 8.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001888/0.4182, allocations: 101.2 kB / 0.5382 GB, free: 8.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4182, allocations: 4.625 kB / 0.5382 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4182, allocations: 5.188 kB / 0.5382 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4182, allocations: 4 kB / 0.5382 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.4183, allocations: 10.77 kB / 0.5382 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4183, allocations: 1.125 kB / 0.5382 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.534e-05/0.4184, allocations: 7.391 kB / 0.5382 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.4184, allocations: 1.156 kB / 0.5382 GB, free: 8.301 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 (3): * Single equations (assignments): 3 * 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.0001985/0.4186, allocations: 213 kB / 0.5384 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.4187, allocations: 38.25 kB / 0.5384 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.419, allocations: 126.9 kB / 0.5386 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.419, allocations: 1.062 kB / 0.5386 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.419, allocations: 3.938 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.419, allocations: 1.156 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.4194, allocations: 295.5 kB / 0.5389 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4194, allocations: 0 / 0.5389 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.4195, allocations: 12.42 kB / 0.5389 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4195, allocations: 3.938 kB / 0.5389 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.4195, allocations: 0 / 0.5389 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4195, allocations: 5.469 kB / 0.5389 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4195, allocations: 384 / 0.5389 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.4198, allocations: 208.5 kB / 0.5391 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.4199, allocations: 112.8 kB / 0.5392 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.42, allocations: 1.531 kB / 0.5392 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.4201, allocations: 2.594 kB / 0.5392 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.4201, allocations: 9.172 kB / 0.5392 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.4201, allocations: 1.594 kB / 0.5392 GB, free: 7.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007173/0.4208, allocations: 0.6511 MB / 0.5398 GB, free: 7.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4208, allocations: 0 / 0.5398 GB, free: 7.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.4211, allocations: 15.66 kB / 0.5398 GB, free: 7.133 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 (3): * Single equations (assignments): 3 * 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.0008689/0.422, allocations: 339.6 kB / 0.5402 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.4222, allocations: 38.97 kB / 0.5402 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.4222, allocations: 0 / 0.5402 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.295e-05/0.4223, allocations: 28.11 kB / 0.5402 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.4227, allocations: 27.53 kB / 0.5403 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.4239, allocations: 0.7809 MB / 0.541 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.4246, allocations: 0.8223 MB / 0.5418 GB, free: 5.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.642e-05/0.4247, allocations: 16.06 kB / 0.5418 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.4247, allocations: 14.69 kB / 0.5419 GB, free: 5.707 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4247, allocations: 0 / 0.5419 GB, free: 5.707 MB / 398.1 MB Notification: Performance of Templates: time 0.004877/0.4296, allocations: 1.268 MB / 0.5431 GB, free: 5.074 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches