Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 200.6 kB / 18.73 MB, free: 4.328 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.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 72.11 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3724, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003385/0.3759, allocations: 1.614 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3772, allocations: 0.5449 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.3773, allocations: 0 / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.3777, allocations: 110.6 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.3781, allocations: 123.7 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.3784, allocations: 117.8 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.3787, allocations: 89.02 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3788, allocations: 20.98 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.3789, allocations: 42.58 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.3791, allocations: 69.7 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.3791, allocations: 3.094 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3792, allocations: 44.95 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.3793, allocations: 30.66 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.455e-05/0.3794, allocations: 33.34 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.3796, allocations: 118 kB / 0.5339 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3796, allocations: 4 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3796, allocations: 1.438 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3797, allocations: 0 / 0.5339 GB, free: 11.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006069/0.3803, allocations: 427.8 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3803, allocations: 10.38 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.3804, allocations: 10.41 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.3806, allocations: 214.5 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3806, allocations: 2.719 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.3807, allocations: 6.656 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.3808, allocations: 62.2 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3809, allocations: 5.094 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.3809, allocations: 4 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3809, allocations: 1.156 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.381, allocations: 28.03 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.3815, allocations: 306.4 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.3817, allocations: 48.19 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.3817, allocations: 25.03 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.3818, allocations: 0.8438 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.3818, allocations: 31.66 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3818, allocations: 0 / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009599/0.3828, allocations: 247 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.3828, allocations: 52.78 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.3831, allocations: 259.3 kB / 0.5356 GB, free: 9.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3831, allocations: 29.69 kB / 0.5356 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.3832, allocations: 110.9 kB / 0.5357 GB, free: 9.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.3832, allocations: 27.38 kB / 0.5357 GB, free: 9.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.3833, allocations: 19.88 kB / 0.5357 GB, free: 9.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3834, allocations: 331.4 kB / 0.5361 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/0.3835, allocations: 28.17 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.3836, allocations: 29.28 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.3838, allocations: 77.2 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3838, allocations: 4 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002286/0.384, allocations: 118.3 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.3841, allocations: 9.391 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3841, allocations: 3.938 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3841, allocations: 1.062 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3842, allocations: 17.83 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3842, allocations: 0 / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.3843, allocations: 7.219 kB / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3843, allocations: 10.09 kB / 0.5363 GB, free: 9.254 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 (8): * Single equations (assignments): 8 * 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.654e-05/0.3844, allocations: 132 kB / 0.5365 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.3844, allocations: 14.48 kB / 0.5365 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.3847, allocations: 132 kB / 0.5366 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3848, allocations: 1.25 kB / 0.5366 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3848, allocations: 0 / 0.5366 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3848, allocations: 9.047 kB / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.3854, allocations: 426.5 kB / 0.537 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3854, allocations: 0 / 0.537 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.378e-05/0.3855, allocations: 22.48 kB / 0.5371 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3855, allocations: 3.938 kB / 0.5371 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3855, allocations: 2.375 kB / 0.5371 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3855, allocations: 8.859 kB / 0.5371 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3855, allocations: 0 / 0.5371 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.3858, allocations: 214 kB / 0.5373 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.3859, allocations: 92.36 kB / 0.5374 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.3859, allocations: 1.094 kB / 0.5374 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.386, allocations: 11.58 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.386, allocations: 7.438 kB / 0.5374 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.386, allocations: 2.531 kB / 0.5374 GB, free: 8.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.3862, allocations: 192.9 kB / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3862, allocations: 0 / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.3865, allocations: 26.39 kB / 0.5376 GB, free: 8.176 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 (8): * Single equations (assignments): 8 * 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.001064/0.3876, allocations: 451 kB / 0.538 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.3878, allocations: 75.2 kB / 0.5381 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3879, allocations: 1.125 kB / 0.5381 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.388, allocations: 39.19 kB / 0.5381 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.3884, allocations: 30.58 kB / 0.5382 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.389, allocations: 305.6 kB / 0.5384 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.3894, allocations: 0.7198 MB / 0.5392 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.2e-05/0.3895, allocations: 16.62 kB / 0.5392 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.3896, allocations: 14.69 kB / 0.5392 GB, free: 6.926 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3896, allocations: 4 kB / 0.5392 GB, free: 6.922 MB / 398.1 MB Notification: Performance of Templates: time 0.005083/0.3947, allocations: 1.407 MB / 0.5406 GB, free: 6.211 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches