Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001561/0.001561, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 71.89 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3837, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002615/0.3863, allocations: 1.602 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009335/0.3873, allocations: 0.543 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.3874, allocations: 0 / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.3876, allocations: 19.61 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.3878, allocations: 89.2 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.3881, allocations: 110.3 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.3882, allocations: 61.56 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.862e-05/0.3884, allocations: 15.8 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.424e-05/0.3884, allocations: 23.53 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.3885, allocations: 30.56 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3885, allocations: 3.312 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.242e-05/0.3886, allocations: 32.3 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.3886, allocations: 21.45 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.3887, allocations: 25.31 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.3888, allocations: 81.22 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3888, allocations: 1.25 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.3889, allocations: 7.922 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.3889, allocations: 0 / 0.5336 GB, free: 11.61 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.0004581/0.3893, allocations: 389.3 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.3894, allocations: 9.219 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.3894, allocations: 12.77 kB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.3896, allocations: 197 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3896, allocations: 2.062 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.3897, allocations: 13.59 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3898, allocations: 48.33 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3898, allocations: 0 / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.3898, allocations: 1.094 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.3898, allocations: 1.188 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.691e-05/0.3899, allocations: 29.06 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.3903, allocations: 282.1 kB / 0.5345 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.3905, allocations: 44.91 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.3906, allocations: 19.66 kB / 0.5346 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.3906, allocations: 5 kB / 0.5346 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3906, allocations: 31.84 kB / 0.5346 GB, free: 10.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3906, allocations: 0 / 0.5346 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005603/0.3912, allocations: 151.1 kB / 0.5348 GB, free: 10.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.3912, allocations: 56.78 kB / 0.5348 GB, free: 10.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3914, allocations: 185.8 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.3914, allocations: 27.08 kB / 0.535 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.3915, allocations: 100.2 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.3915, allocations: 13.17 kB / 0.5351 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.3916, allocations: 23.16 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3917, allocations: 321.6 kB / 0.5355 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.715e-05/0.3917, allocations: 18.98 kB / 0.5355 GB, free: 9.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.3918, allocations: 24.36 kB / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.392, allocations: 60.25 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.392, allocations: 0 / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001803/0.3921, allocations: 88.14 kB / 0.5357 GB, free: 9.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3922, allocations: 5.5 kB / 0.5357 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3922, allocations: 0 / 0.5357 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3922, allocations: 3.938 kB / 0.5357 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.3923, allocations: 13.61 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3923, allocations: 5.375 kB / 0.5357 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.3923, allocations: 14.61 kB / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.3924, allocations: 1.375 kB / 0.5357 GB, free: 9.594 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 7.637e-05/0.3924, allocations: 120.7 kB / 0.5358 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.3925, allocations: 8.031 kB / 0.5358 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.3927, allocations: 98.36 kB / 0.5359 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3927, allocations: 5.312 kB / 0.5359 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3927, allocations: 0 / 0.5359 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3927, allocations: 3.938 kB / 0.5359 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.3932, allocations: 357.3 kB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3932, allocations: 1.156 kB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.3932, allocations: 13.2 kB / 0.5363 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3932, allocations: 0 / 0.5363 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.3932, allocations: 5.094 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3933, allocations: 1.125 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3933, allocations: 4 kB / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.3935, allocations: 187.4 kB / 0.5365 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.3935, allocations: 83.48 kB / 0.5365 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.3936, allocations: 8.172 kB / 0.5366 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.3936, allocations: 12.12 kB / 0.5366 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.3937, allocations: 9.047 kB / 0.5366 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.3937, allocations: 6.125 kB / 0.5366 GB, free: 8.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.3938, allocations: 140.3 kB / 0.5367 GB, free: 8.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3938, allocations: 0 / 0.5367 GB, free: 8.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.394, allocations: 15.75 kB / 0.5367 GB, free: 8.633 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.0008335/0.3949, allocations: 393.5 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.3951, allocations: 50.84 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3951, allocations: 5.312 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/0.3952, allocations: 32.16 kB / 0.5372 GB, free: 8.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3955, allocations: 14.92 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.3959, allocations: 199 kB / 0.5374 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.3962, allocations: 0.6983 MB / 0.5381 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.414e-05/0.3962, allocations: 32.62 kB / 0.5381 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.3963, allocations: 15.47 kB / 0.5381 GB, free: 7.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3963, allocations: 0 / 0.5381 GB, free: 7.48 MB / 398.1 MB Notification: Performance of Templates: time 0.003403/0.3997, allocations: 1.134 MB / 0.5392 GB, free: 6.898 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches