Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 110.9 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 209.2 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.455/1.455, 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.2194/0.2194, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 72.08 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.404, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00329/0.4074, allocations: 1.598 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.4084, allocations: 0.5312 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.4085, allocations: 5.375 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.4088, allocations: 27.97 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.4091, allocations: 76.38 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.4094, allocations: 90.5 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.4096, allocations: 60.59 kB / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.4097, allocations: 10.86 kB / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.193e-05/0.4097, allocations: 28.11 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.4098, allocations: 22.73 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.4098, allocations: 2.75 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.4099, allocations: 36.61 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.41, allocations: 12.06 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.4101, allocations: 27.91 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.4102, allocations: 79.23 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4102, allocations: 0 / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4102, allocations: 0 / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4103, allocations: 1.375 kB / 0.5335 GB, free: 11.64 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.0004861/0.4108, allocations: 381.5 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.4108, allocations: 9.625 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.4108, allocations: 7.594 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.411, allocations: 197.7 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.4111, allocations: 5.75 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.4111, allocations: 5.688 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.4112, allocations: 51.38 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4113, allocations: 5.359 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.4113, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.4113, allocations: 5.375 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.4114, allocations: 24.34 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.4117, allocations: 270.8 kB / 0.5345 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.412, allocations: 48.12 kB / 0.5345 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.412, allocations: 12.45 kB / 0.5345 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.412, allocations: 4 kB / 0.5345 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.4121, allocations: 34.64 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4121, allocations: 1.656 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005768/0.4127, allocations: 140.6 kB / 0.5347 GB, free: 10.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.4127, allocations: 52.69 kB / 0.5347 GB, free: 10.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.4129, allocations: 151 kB / 0.5349 GB, free: 10.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.4129, allocations: 30.67 kB / 0.5349 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.413, allocations: 98.98 kB / 0.535 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.413, allocations: 10.44 kB / 0.535 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.413, allocations: 21.52 kB / 0.535 GB, free: 10.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4131, allocations: 321.3 kB / 0.5353 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.06e-05/0.4132, allocations: 21.78 kB / 0.5354 GB, free: 9.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.4133, allocations: 19.11 kB / 0.5354 GB, free: 9.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.4134, allocations: 48.56 kB / 0.5354 GB, free: 9.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4134, allocations: 4 kB / 0.5354 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001738/0.4136, allocations: 80.91 kB / 0.5355 GB, free: 9.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4136, allocations: 6.844 kB / 0.5355 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4137, allocations: 0.9375 kB / 0.5355 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4137, allocations: 1.156 kB / 0.5355 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.4137, allocations: 17.08 kB / 0.5355 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4138, allocations: 1.219 kB / 0.5355 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.854e-05/0.4138, allocations: 6.188 kB / 0.5355 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.4138, allocations: 2.406 kB / 0.5355 GB, free: 9.676 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 0.0002109/0.414, allocations: 122.5 kB / 0.5357 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.4141, allocations: 7.188 kB / 0.5357 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.4143, allocations: 89.39 kB / 0.5358 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4143, allocations: 5.156 kB / 0.5358 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4143, allocations: 0 / 0.5358 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4143, allocations: 0 / 0.5358 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.4147, allocations: 355.1 kB / 0.5361 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4148, allocations: 0 / 0.5361 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.4148, allocations: 13.86 kB / 0.5361 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4148, allocations: 0 / 0.5361 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.4148, allocations: 1.125 kB / 0.5361 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.4149, allocations: 12.94 kB / 0.5361 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4149, allocations: 0 / 0.5361 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.4151, allocations: 175.8 kB / 0.5363 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.4152, allocations: 79.55 kB / 0.5364 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.4152, allocations: 4 kB / 0.5364 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.4153, allocations: 15.11 kB / 0.5364 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.4153, allocations: 10.16 kB / 0.5364 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.4153, allocations: 2.031 kB / 0.5364 GB, free: 8.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.804e-05/0.4154, allocations: 124.7 kB / 0.5365 GB, free: 8.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4154, allocations: 0 / 0.5365 GB, free: 8.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.4156, allocations: 22.12 kB / 0.5365 GB, free: 8.719 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.0008923/0.4165, allocations: 393.4 kB / 0.5369 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.4168, allocations: 43.47 kB / 0.537 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4168, allocations: 4 kB / 0.537 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.695e-05/0.4168, allocations: 28.23 kB / 0.537 GB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.4172, allocations: 29.58 kB / 0.537 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.4177, allocations: 172 kB / 0.5372 GB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.418, allocations: 0.691 MB / 0.5379 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.4181, allocations: 21.06 kB / 0.5379 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.4181, allocations: 12.94 kB / 0.5379 GB, free: 7.59 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4181, allocations: 0 / 0.5379 GB, free: 7.59 MB / 398.1 MB Notification: Performance of Templates: time 0.004421/0.4226, allocations: 1.118 MB / 0.539 GB, free: 7.012 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches