Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001878/0.001878, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247.6 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.218/0.218, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 76.2 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3995, allocations: 62.44 MB / 0.5317 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003887/0.4034, allocations: 1.606 MB / 0.5332 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.4055, allocations: 1.159 MB / 0.5344 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.719e-05/0.4056, allocations: 1.375 kB / 0.5344 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.4059, allocations: 27.92 kB / 0.5344 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.4064, allocations: 81.8 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.4068, allocations: 118.4 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.407, allocations: 63.34 kB / 0.5347 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.4072, allocations: 14.86 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/0.4073, allocations: 29.47 kB / 0.5347 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.4074, allocations: 30.86 kB / 0.5347 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.4075, allocations: 8.125 kB / 0.5347 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.4077, allocations: 100.1 kB / 0.5348 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.4078, allocations: 14.67 kB / 0.5348 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.4078, allocations: 25.36 kB / 0.5349 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.4081, allocations: 134.5 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4081, allocations: 3.938 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4081, allocations: 1.375 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4081, allocations: 3.984 kB / 0.535 GB, free: 10.92 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.0005511/0.4087, allocations: 399.8 kB / 0.5354 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4087, allocations: 13.62 kB / 0.5354 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.4088, allocations: 7.594 kB / 0.5354 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.409, allocations: 191.7 kB / 0.5356 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.4091, allocations: 1.75 kB / 0.5356 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.4091, allocations: 1.75 kB / 0.5356 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.4092, allocations: 73.2 kB / 0.5357 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4093, allocations: 0 / 0.5357 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.4093, allocations: 0 / 0.5357 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4093, allocations: 1.375 kB / 0.5357 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.379e-05/0.4094, allocations: 30.23 kB / 0.5357 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.4098, allocations: 295.3 kB / 0.536 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.4101, allocations: 45.34 kB / 0.536 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.4101, allocations: 19.78 kB / 0.536 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.4102, allocations: 4 kB / 0.536 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.4102, allocations: 32.44 kB / 0.5361 GB, free: 9.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.4102, allocations: 0 / 0.5361 GB, free: 9.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005953/0.4108, allocations: 149.7 kB / 0.5362 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.4109, allocations: 78.77 kB / 0.5363 GB, free: 9.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.4111, allocations: 152.7 kB / 0.5364 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.4111, allocations: 25.7 kB / 0.5365 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.4112, allocations: 90.83 kB / 0.5365 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.4112, allocations: 25.94 kB / 0.5366 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.4113, allocations: 18.78 kB / 0.5366 GB, free: 9.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.4114, allocations: 325.3 kB / 0.5369 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/0.4115, allocations: 19.8 kB / 0.5369 GB, free: 8.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.704e-05/0.4116, allocations: 36.02 kB / 0.5369 GB, free: 8.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.4117, allocations: 50.86 kB / 0.537 GB, free: 8.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4117, allocations: 1.156 kB / 0.537 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002056/0.412, allocations: 86.47 kB / 0.5371 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.412, allocations: 5.75 kB / 0.5371 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.412, allocations: 0 / 0.5371 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.412, allocations: 1.031 kB / 0.5371 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.4121, allocations: 17.7 kB / 0.5371 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4121, allocations: 1.062 kB / 0.5371 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.4122, allocations: 7.25 kB / 0.5371 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.4122, allocations: 9.141 kB / 0.5371 GB, free: 8.852 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.602e-05/0.4123, allocations: 114.3 kB / 0.5372 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.4123, allocations: 3.469 kB / 0.5372 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.4126, allocations: 108.4 kB / 0.5373 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4126, allocations: 1.219 kB / 0.5373 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4126, allocations: 320 / 0.5373 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4126, allocations: 0 / 0.5373 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.4131, allocations: 363.6 kB / 0.5377 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4131, allocations: 0 / 0.5377 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.4132, allocations: 14.09 kB / 0.5377 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4132, allocations: 3.938 kB / 0.5377 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-06/0.4132, allocations: 5.359 kB / 0.5377 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.4132, allocations: 7.938 kB / 0.5377 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4132, allocations: 1.125 kB / 0.5377 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.4134, allocations: 182.2 kB / 0.5379 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.4135, allocations: 79.67 kB / 0.538 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.4135, allocations: 3.938 kB / 0.538 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.4136, allocations: 8.344 kB / 0.538 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.4137, allocations: 9.141 kB / 0.538 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.4137, allocations: 2.469 kB / 0.538 GB, free: 8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.974e-05/0.4138, allocations: 109.2 kB / 0.5381 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4138, allocations: 1.438 kB / 0.5381 GB, free: 7.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.4141, allocations: 48.05 kB / 0.5381 GB, free: 7.887 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.001185/0.4153, allocations: 496.3 kB / 0.5386 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.4155, allocations: 48.09 kB / 0.5387 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4155, allocations: 4 kB / 0.5387 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.87e-05/0.4156, allocations: 33.25 kB / 0.5387 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.416, allocations: 24.83 kB / 0.5387 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.4165, allocations: 199.6 kB / 0.5389 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.4167, allocations: 0.6907 MB / 0.5396 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.4168, allocations: 26.17 kB / 0.5396 GB, free: 6.688 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4168, allocations: 0 / 0.5396 GB, free: 6.688 MB / 398.1 MB Notification: Performance of Templates: time 0.005245/0.4221, allocations: 1.957 MB / 0.5415 GB, free: 5.68 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches