Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 117.8 kB / 18.45 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 213.9 kB / 19.4 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2299/0.2299, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 71.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3703, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003255/0.3736, allocations: 1.68 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.3746, allocations: 0.546 MB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.3747, allocations: 1.75 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.375, allocations: 77.77 kB / 0.5339 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.3753, allocations: 96.72 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.3757, allocations: 142.4 kB / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.3759, allocations: 92.86 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.376, allocations: 21.83 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.3761, allocations: 38.97 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.3762, allocations: 48.58 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.3763, allocations: 4.125 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3764, allocations: 60.97 kB / 0.5344 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.926e-05/0.3765, allocations: 25.53 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.3765, allocations: 34.56 kB / 0.5345 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3767, allocations: 119.5 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3768, allocations: 0 / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3768, allocations: 3.984 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3768, allocations: 0 / 0.5346 GB, free: 11.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005631/0.3773, allocations: 419 kB / 0.535 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3774, allocations: 8.25 kB / 0.535 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.3774, allocations: 18.28 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.3777, allocations: 213 kB / 0.5352 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.3777, allocations: 1.75 kB / 0.5352 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.3777, allocations: 7.125 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.3779, allocations: 67.61 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3779, allocations: 0 / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3779, allocations: 1.375 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3779, allocations: 1.375 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.3781, allocations: 45.7 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.3785, allocations: 307.9 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.3788, allocations: 49.88 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.837e-05/0.3789, allocations: 29.55 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3789, allocations: 1.281 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3789, allocations: 44.12 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3789, allocations: 0 / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001448/0.3804, allocations: 385.3 kB / 0.5361 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.3804, allocations: 57.56 kB / 0.5362 GB, free: 9.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.3807, allocations: 216.5 kB / 0.5364 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3807, allocations: 26.86 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.3808, allocations: 105.8 kB / 0.5365 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.3809, allocations: 40.09 kB / 0.5365 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.3809, allocations: 21.25 kB / 0.5366 GB, free: 9.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3811, allocations: 330.8 kB / 0.5369 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3812, allocations: 43.33 kB / 0.5369 GB, free: 9.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3813, allocations: 48.69 kB / 0.537 GB, free: 9.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.3816, allocations: 95.03 kB / 0.5371 GB, free: 9.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3816, allocations: 1.438 kB / 0.5371 GB, free: 9.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000319/0.3819, allocations: 150.2 kB / 0.5372 GB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3819, allocations: 5.312 kB / 0.5372 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.382, allocations: 0 / 0.5372 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.382, allocations: 1.062 kB / 0.5372 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3821, allocations: 28.33 kB / 0.5372 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3821, allocations: 0 / 0.5372 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.524e-05/0.3822, allocations: 14.42 kB / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3822, allocations: 2.75 kB / 0.5373 GB, free: 9.121 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 (11): * Single equations (assignments): 11 * 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.0001256/0.3823, allocations: 137 kB / 0.5374 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.3824, allocations: 9.875 kB / 0.5374 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.3828, allocations: 167.4 kB / 0.5376 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3828, allocations: 5.219 kB / 0.5376 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3828, allocations: 1.156 kB / 0.5376 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3828, allocations: 0 / 0.5376 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007143/0.3835, allocations: 484.5 kB / 0.538 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3836, allocations: 1.062 kB / 0.538 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.3837, allocations: 29.36 kB / 0.5381 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3837, allocations: 1.031 kB / 0.5381 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3837, allocations: 6.078 kB / 0.5381 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3837, allocations: 1.125 kB / 0.5381 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3837, allocations: 5.062 kB / 0.5381 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.3841, allocations: 248.1 kB / 0.5383 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.3842, allocations: 88.3 kB / 0.5384 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.3842, allocations: 6.375 kB / 0.5384 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-05/0.3843, allocations: 9.641 kB / 0.5384 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.3844, allocations: 16.42 kB / 0.5384 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3844, allocations: 7.578 kB / 0.5384 GB, free: 8.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.3845, allocations: 163.5 kB / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3845, allocations: 0 / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.3848, allocations: 26.12 kB / 0.5386 GB, free: 7.973 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001075/0.3859, allocations: 468.6 kB / 0.5391 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003491/0.3863, allocations: 110.2 kB / 0.5392 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3863, allocations: 0.5625 kB / 0.5392 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.3864, allocations: 58.41 kB / 0.5392 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.3868, allocations: 30.22 kB / 0.5392 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/0.3876, allocations: 330.8 kB / 0.5396 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.388, allocations: 0.7094 MB / 0.5403 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.388, allocations: 23.88 kB / 0.5403 GB, free: 6.656 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.388, allocations: 0 / 0.5403 GB, free: 6.656 MB / 398.1 MB Notification: Performance of Templates: time 0.004742/0.3928, allocations: 1.978 MB / 0.5422 GB, free: 5.625 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches