Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 118.2 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.001147/0.001147, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2585/0.2585, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 79.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4048, allocations: 62.44 MB / 0.531 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003855/0.4087, allocations: 1.598 MB / 0.5326 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.4106, allocations: 1.16 MB / 0.5337 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.4106, allocations: 1.375 kB / 0.5337 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.4109, allocations: 27.97 kB / 0.5337 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.4113, allocations: 81.75 kB / 0.5338 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.4116, allocations: 118.7 kB / 0.5339 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.4118, allocations: 69.89 kB / 0.534 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.4119, allocations: 12.14 kB / 0.534 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.412, allocations: 29.23 kB / 0.534 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.4121, allocations: 31.81 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.4121, allocations: 3 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.4123, allocations: 108.2 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.4124, allocations: 11.44 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.4125, allocations: 24.33 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.4127, allocations: 134.9 kB / 0.5343 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4127, allocations: 7.922 kB / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4127, allocations: 1.281 kB / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.4128, allocations: 0 / 0.5343 GB, free: 11.27 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.000561/0.4133, allocations: 397.9 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4134, allocations: 9.781 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.4134, allocations: 11.25 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.4137, allocations: 194 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.4137, allocations: 1.531 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.4137, allocations: 1.406 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.4139, allocations: 69.05 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4139, allocations: 0 / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4139, allocations: 5.188 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.4139, allocations: 0.9375 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.869e-05/0.4141, allocations: 29.64 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.4145, allocations: 287.6 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.4147, allocations: 48.55 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.4148, allocations: 20.2 kB / 0.5354 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.4148, allocations: 1.094 kB / 0.5354 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.4149, allocations: 39.69 kB / 0.5354 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.4149, allocations: 0 / 0.5354 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005999/0.4155, allocations: 146.8 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.4156, allocations: 78.23 kB / 0.5356 GB, free: 9.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.4157, allocations: 149.7 kB / 0.5358 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4158, allocations: 29.7 kB / 0.5358 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.4158, allocations: 92.3 kB / 0.5359 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.4159, allocations: 21.48 kB / 0.5359 GB, free: 9.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.4159, allocations: 18.78 kB / 0.5359 GB, free: 9.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.416, allocations: 325.1 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.51e-05/0.4161, allocations: 19.14 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/0.4162, allocations: 35.92 kB / 0.5363 GB, free: 9.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.4164, allocations: 52.7 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.4164, allocations: 0 / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002053/0.4166, allocations: 86.47 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4166, allocations: 9.406 kB / 0.5364 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4166, allocations: 0 / 0.5364 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4166, allocations: 1.375 kB / 0.5364 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.85e-05/0.4167, allocations: 14.39 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4167, allocations: 4.031 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.4168, allocations: 6.5 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.4168, allocations: 10.27 kB / 0.5365 GB, free: 9.199 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 8.586e-05/0.4169, allocations: 114.4 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.4169, allocations: 3.531 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.4172, allocations: 103.9 kB / 0.5367 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.4172, allocations: 5.312 kB / 0.5367 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4172, allocations: 0 / 0.5367 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4172, allocations: 5.094 kB / 0.5367 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.4177, allocations: 359.1 kB / 0.537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4177, allocations: 0 / 0.537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/0.4178, allocations: 13.66 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4178, allocations: 1.219 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.4178, allocations: 3.984 kB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.4178, allocations: 9.344 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4178, allocations: 4 kB / 0.537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.4181, allocations: 178.2 kB / 0.5372 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.4181, allocations: 79.17 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.4182, allocations: 5.219 kB / 0.5373 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.4182, allocations: 7.031 kB / 0.5373 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.4183, allocations: 6.297 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.4183, allocations: 5 kB / 0.5373 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.4184, allocations: 113.1 kB / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4184, allocations: 0 / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.4187, allocations: 43.83 kB / 0.5375 GB, free: 8.242 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.001106/0.4198, allocations: 0.4939 MB / 0.5379 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.4201, allocations: 46.97 kB / 0.538 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4201, allocations: 0 / 0.538 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.829e-05/0.4202, allocations: 32.97 kB / 0.538 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.4205, allocations: 22.92 kB / 0.538 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.421, allocations: 176.9 kB / 0.5382 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.4212, allocations: 0.6906 MB / 0.5389 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.694e-05/0.4213, allocations: 25.66 kB / 0.5389 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.4214, allocations: 13.84 kB / 0.5389 GB, free: 7.059 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4214, allocations: 0 / 0.5389 GB, free: 7.059 MB / 398.1 MB Notification: Performance of Templates: time 0.004962/0.4263, allocations: 1.763 MB / 0.5406 GB, free: 6.141 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches