Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.1 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 80.09 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5107/0.5123, allocations: 62.43 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003179/0.5156, allocations: 1.649 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.5166, allocations: 0.5422 MB / 0.5332 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.866e-05/0.5167, allocations: 1.375 kB / 0.5332 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.5171, allocations: 92.92 kB / 0.5333 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.5174, allocations: 119.6 kB / 0.5334 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.5177, allocations: 95.19 kB / 0.5335 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.5179, allocations: 95.8 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.518, allocations: 26.98 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.108e-05/0.5181, allocations: 45.66 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.5183, allocations: 62.06 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.5183, allocations: 8.062 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.5184, allocations: 46.22 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.5185, allocations: 26.92 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.5185, allocations: 38.56 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.5188, allocations: 135.9 kB / 0.5339 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.5188, allocations: 0 / 0.5339 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5188, allocations: 0 / 0.5339 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.5188, allocations: 0 / 0.5339 GB, free: 11.47 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005501/0.5194, allocations: 442.2 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.5194, allocations: 9.062 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.5195, allocations: 19.47 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.5197, allocations: 210 kB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.5197, allocations: 3.031 kB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.5198, allocations: 3.5 kB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.52, allocations: 81.36 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.52, allocations: 5.328 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.52, allocations: 8 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.52, allocations: 5.141 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.5202, allocations: 34.72 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.5207, allocations: 328.2 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.5208, allocations: 66.14 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.5209, allocations: 23.58 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.5209, allocations: 5.078 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.521, allocations: 35.62 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.521, allocations: 1.594 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001086/0.5221, allocations: 312 kB / 0.5354 GB, free: 10.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.5221, allocations: 53.66 kB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.5224, allocations: 242.2 kB / 0.5357 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.5224, allocations: 29.7 kB / 0.5358 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.5225, allocations: 114.7 kB / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.5226, allocations: 45.8 kB / 0.5359 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.5226, allocations: 26.38 kB / 0.5359 GB, free: 9.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5227, allocations: 331.7 kB / 0.5362 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.5228, allocations: 35.03 kB / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.5229, allocations: 33.11 kB / 0.5363 GB, free: 9.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.5231, allocations: 88.95 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5231, allocations: 0 / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002658/0.5234, allocations: 151.3 kB / 0.5365 GB, free: 9.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5234, allocations: 5.344 kB / 0.5365 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5234, allocations: 0 / 0.5365 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.5235, allocations: 5.219 kB / 0.5366 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.5236, allocations: 25.05 kB / 0.5366 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5236, allocations: 5.156 kB / 0.5366 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.5237, allocations: 3.344 kB / 0.5366 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.5237, allocations: 11.11 kB / 0.5366 GB, free: 9.129 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 (13): * Single equations (assignments): 13 * 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.0001196/0.5238, allocations: 127 kB / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.5239, allocations: 18.22 kB / 0.5367 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.5243, allocations: 171.8 kB / 0.5369 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5243, allocations: 5 kB / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5243, allocations: 1.031 kB / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5243, allocations: 0 / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.5249, allocations: 482.4 kB / 0.5374 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5249, allocations: 0.9688 kB / 0.5374 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.5251, allocations: 32.69 kB / 0.5374 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5251, allocations: 1.281 kB / 0.5374 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.5251, allocations: 5.25 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.5251, allocations: 1.125 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5251, allocations: 1.219 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.5255, allocations: 244.1 kB / 0.5376 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.5255, allocations: 93.22 kB / 0.5377 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.5256, allocations: 1.094 kB / 0.5377 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.5256, allocations: 3.219 kB / 0.5377 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.5257, allocations: 17.27 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.5257, allocations: 4.188 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.5259, allocations: 182 kB / 0.5379 GB, free: 8.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5259, allocations: 4 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.5262, allocations: 26.81 kB / 0.538 GB, free: 7.992 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001197/0.5274, allocations: 451.6 kB / 0.5384 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.5277, allocations: 105.5 kB / 0.5385 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5277, allocations: 0 / 0.5385 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.5279, allocations: 52.53 kB / 0.5385 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.5283, allocations: 30.38 kB / 0.5386 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006619/0.529, allocations: 313.1 kB / 0.5389 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.5293, allocations: 0.7209 MB / 0.5396 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.698e-05/0.5294, allocations: 24.81 kB / 0.5396 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.5294, allocations: 14.53 kB / 0.5396 GB, free: 6.715 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5294, allocations: 0.9062 kB / 0.5396 GB, free: 6.715 MB / 398.1 MB Notification: Performance of Templates: time 0.005427/0.5349, allocations: 1.556 MB / 0.5411 GB, free: 5.93 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches