Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001396, allocations: 199.8 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.489/1.489, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 75.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4851, allocations: 62.45 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003284/0.4884, allocations: 1.596 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.4895, allocations: 0.5462 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.4896, allocations: 1.375 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.4898, allocations: 15.98 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.4901, allocations: 84.36 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.4904, allocations: 109.3 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.4906, allocations: 62.02 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.4907, allocations: 18.86 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.4908, allocations: 25.48 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.4909, allocations: 26.5 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.4909, allocations: 2.688 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.179e-05/0.491, allocations: 35.7 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.491, allocations: 8.281 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.4911, allocations: 20.59 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.4913, allocations: 91.95 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4913, allocations: 0 / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4913, allocations: 0 / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.4913, allocations: 1 kB / 0.5336 GB, free: 11.62 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.0005413/0.4918, allocations: 381.7 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4919, allocations: 9.656 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.4919, allocations: 7.625 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.4922, allocations: 193.1 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.4922, allocations: 1.469 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.4922, allocations: 10.98 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.4924, allocations: 56.41 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4924, allocations: 0 / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4924, allocations: 1.562 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4924, allocations: 0 / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.4925, allocations: 26.59 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.493, allocations: 282.9 kB / 0.5345 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.4932, allocations: 45.34 kB / 0.5346 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.4933, allocations: 19.62 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.4933, allocations: 1.094 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.4933, allocations: 31.72 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.4933, allocations: 0 / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006072/0.4939, allocations: 158.6 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.494, allocations: 52.53 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.4942, allocations: 151.4 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.4942, allocations: 25.7 kB / 0.535 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.4943, allocations: 99.45 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.4943, allocations: 14.05 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.4943, allocations: 18.34 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4945, allocations: 329 kB / 0.5354 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/0.4946, allocations: 19.61 kB / 0.5354 GB, free: 9.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/0.4946, allocations: 24.92 kB / 0.5355 GB, free: 9.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.4948, allocations: 51.2 kB / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4948, allocations: 0 / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002019/0.495, allocations: 91.22 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.495, allocations: 5.375 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.495, allocations: 1.312 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4951, allocations: 0 / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.841e-05/0.4951, allocations: 14.17 kB / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4951, allocations: 0 / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.4952, allocations: 6.656 kB / 0.5356 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.4952, allocations: 6.359 kB / 0.5356 GB, free: 9.645 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.658e-05/0.4953, allocations: 119.2 kB / 0.5357 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.4953, allocations: 10.59 kB / 0.5358 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.4956, allocations: 97.7 kB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.4956, allocations: 0 / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4956, allocations: 0 / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4956, allocations: 1.375 kB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.4961, allocations: 358.8 kB / 0.5362 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4961, allocations: 9.438 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.4961, allocations: 13.61 kB / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4962, allocations: 288 / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.4962, allocations: 9.312 kB / 0.5362 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4962, allocations: 3.938 kB / 0.5362 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4962, allocations: 0 / 0.5362 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.4964, allocations: 187.1 kB / 0.5364 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.4965, allocations: 82.48 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.4965, allocations: 1.375 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.4966, allocations: 6.688 kB / 0.5365 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.4966, allocations: 10.73 kB / 0.5365 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.4966, allocations: 1.375 kB / 0.5365 GB, free: 8.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.709e-05/0.4967, allocations: 124.5 kB / 0.5366 GB, free: 8.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4967, allocations: 0 / 0.5366 GB, free: 8.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.497, allocations: 18.56 kB / 0.5366 GB, free: 8.684 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.0009014/0.4979, allocations: 404.2 kB / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.4981, allocations: 49.81 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4981, allocations: 1.062 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.4982, allocations: 32.47 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.4985, allocations: 21.55 kB / 0.5371 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.499, allocations: 179.6 kB / 0.5373 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.4993, allocations: 0.6954 MB / 0.538 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.437e-05/0.4993, allocations: 20.16 kB / 0.538 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.4994, allocations: 12.25 kB / 0.538 GB, free: 7.543 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4994, allocations: 0 / 0.538 GB, free: 7.543 MB / 398.1 MB Notification: Performance of Templates: time 0.003689/0.5031, allocations: 1.146 MB / 0.5391 GB, free: 6.945 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches