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.001299/0.001299, allocations: 115.5 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3527/0.3527, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001471, allocations: 75.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.491, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003587/0.4947, allocations: 1.599 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.4967, allocations: 1.159 MB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.4968, allocations: 5.094 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.4971, allocations: 32.34 kB / 0.5337 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.4975, allocations: 81.03 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.4978, allocations: 117.8 kB / 0.5339 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.498, allocations: 62.77 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.4982, allocations: 15.14 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.902e-05/0.4982, allocations: 30.39 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.4984, allocations: 34.44 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.4985, allocations: 3.625 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.4987, allocations: 99.3 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.4988, allocations: 11.97 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.4988, allocations: 24.77 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.4992, allocations: 147.8 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4992, allocations: 0 / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4992, allocations: 0 / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.4992, allocations: 0 / 0.5343 GB, free: 11.03 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.0006084/0.4998, allocations: 407.5 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4999, allocations: 9.625 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.4999, allocations: 9.016 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.5002, allocations: 192.5 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.5002, allocations: 5.75 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.5003, allocations: 3.125 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.5004, allocations: 67.84 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.5005, allocations: 7.984 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.5005, allocations: 1.375 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5005, allocations: 0 / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.5006, allocations: 21.73 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.501, allocations: 284.2 kB / 0.5353 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.5013, allocations: 57.69 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.5014, allocations: 15.81 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.5014, allocations: 0 / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.5014, allocations: 31.94 kB / 0.5354 GB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.5014, allocations: 0 / 0.5354 GB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006006/0.502, allocations: 155.4 kB / 0.5356 GB, free: 9.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.5021, allocations: 78.48 kB / 0.5356 GB, free: 9.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.5023, allocations: 147.7 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.5023, allocations: 29.7 kB / 0.5358 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.5024, allocations: 87.89 kB / 0.5359 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.5024, allocations: 22.7 kB / 0.5359 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.5025, allocations: 21.42 kB / 0.5359 GB, free: 9.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5026, allocations: 321 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.5027, allocations: 27.66 kB / 0.5363 GB, free: 9.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-05/0.5028, allocations: 36.83 kB / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.5029, allocations: 51.2 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5029, allocations: 0 / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002047/0.5031, allocations: 91.39 kB / 0.5364 GB, free: 8.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5032, allocations: 9.469 kB / 0.5364 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5032, allocations: 0 / 0.5364 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5032, allocations: 1.062 kB / 0.5364 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.5033, allocations: 13.7 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5033, allocations: 0.9688 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.5033, allocations: 3.25 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.5034, allocations: 5 kB / 0.5365 GB, free: 8.957 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.0001009/0.5035, allocations: 122 kB / 0.5366 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.5035, allocations: 8.328 kB / 0.5366 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.5038, allocations: 100.3 kB / 0.5367 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5038, allocations: 0 / 0.5367 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5038, allocations: 1.125 kB / 0.5367 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5038, allocations: 8.203 kB / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.5043, allocations: 359.6 kB / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5043, allocations: 0 / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.5044, allocations: 18.14 kB / 0.537 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.5044, allocations: 0 / 0.537 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.5044, allocations: 8.984 kB / 0.5371 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5044, allocations: 5 kB / 0.5371 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.5044, allocations: 0 / 0.5371 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.5047, allocations: 182.3 kB / 0.5372 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.5048, allocations: 87.3 kB / 0.5373 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.5048, allocations: 9.312 kB / 0.5373 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.5049, allocations: 11.22 kB / 0.5373 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.5049, allocations: 6.609 kB / 0.5373 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.5049, allocations: 1.344 kB / 0.5373 GB, free: 8.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.505, allocations: 113.1 kB / 0.5375 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5051, allocations: 0 / 0.5375 GB, free: 7.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.5054, allocations: 39.55 kB / 0.5375 GB, free: 7.98 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.001198/0.5066, allocations: 486.2 kB / 0.538 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.5068, allocations: 58.75 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5068, allocations: 0 / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.993e-05/0.5069, allocations: 33.38 kB / 0.538 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.5073, allocations: 17.66 kB / 0.5381 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.5078, allocations: 167.6 kB / 0.5382 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.5081, allocations: 0.6987 MB / 0.5389 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.561e-05/0.5082, allocations: 21.12 kB / 0.5389 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.5082, allocations: 13.47 kB / 0.5389 GB, free: 6.812 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5082, allocations: 1.094 kB / 0.5389 GB, free: 6.812 MB / 398.1 MB Notification: Performance of Templates: time 0.005558/0.5138, allocations: 1.762 MB / 0.5407 GB, free: 5.891 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