Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001076, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, 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.2175/0.2175, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3908, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003523/0.3944, allocations: 1.654 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3955, allocations: 0.5494 MB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.3956, allocations: 1.375 kB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.396, allocations: 102.3 kB / 0.5333 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.3964, allocations: 114.2 kB / 0.5334 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.3967, allocations: 118.4 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.397, allocations: 101.2 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.3972, allocations: 24.36 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3973, allocations: 51.02 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.3975, allocations: 58.08 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.3975, allocations: 13.44 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.3976, allocations: 46.22 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.3977, allocations: 30.72 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.3978, allocations: 45.53 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.398, allocations: 130.5 kB / 0.534 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.398, allocations: 1.406 kB / 0.534 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.398, allocations: 3.938 kB / 0.534 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.3981, allocations: 0 / 0.534 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005712/0.3986, allocations: 436.7 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3987, allocations: 8.938 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.3987, allocations: 15.16 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.399, allocations: 207.8 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.399, allocations: 5.969 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.399, allocations: 3.969 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3993, allocations: 84.5 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3993, allocations: 0 / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3993, allocations: 5.281 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3993, allocations: 1.312 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.3994, allocations: 39.97 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.4, allocations: 344.2 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.4002, allocations: 67.8 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.175e-05/0.4002, allocations: 24.66 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.4003, allocations: 1.125 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.4003, allocations: 43.69 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.083e-06/0.4003, allocations: 1.062 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001169/0.4015, allocations: 332.8 kB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4015, allocations: 62.14 kB / 0.5356 GB, free: 9.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.4018, allocations: 237 kB / 0.5358 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.4018, allocations: 26.7 kB / 0.5358 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.4019, allocations: 114.7 kB / 0.5359 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.402, allocations: 40.48 kB / 0.536 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.402, allocations: 28.09 kB / 0.536 GB, free: 9.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4021, allocations: 328 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.4023, allocations: 47.19 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.4024, allocations: 45.53 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.4026, allocations: 116.5 kB / 0.5365 GB, free: 9.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4026, allocations: 0 / 0.5365 GB, free: 9.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003025/0.4029, allocations: 151.8 kB / 0.5367 GB, free: 9.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4029, allocations: 5.281 kB / 0.5367 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.403, allocations: 0 / 0.5367 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.403, allocations: 9 kB / 0.5367 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.4031, allocations: 29.3 kB / 0.5367 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4032, allocations: 5.188 kB / 0.5367 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.4032, allocations: 7.203 kB / 0.5367 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.4032, allocations: 3.312 kB / 0.5367 GB, free: 9.051 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.0001158/0.4033, allocations: 135.5 kB / 0.5369 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.4034, allocations: 18.09 kB / 0.5369 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.4038, allocations: 198.1 kB / 0.5371 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4038, allocations: 0.9688 kB / 0.5371 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4038, allocations: 5.078 kB / 0.5371 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4038, allocations: 0 / 0.5371 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006929/0.4045, allocations: 0.4971 MB / 0.5375 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4046, allocations: 0 / 0.5375 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.4047, allocations: 40.67 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4047, allocations: 1.094 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4047, allocations: 1.938 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4047, allocations: 1.719 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4047, allocations: 1.125 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.4051, allocations: 254.5 kB / 0.5378 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.4051, allocations: 92.45 kB / 0.5379 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.4052, allocations: 5 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.4053, allocations: 3.375 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.4053, allocations: 17.33 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.4053, allocations: 3.406 kB / 0.538 GB, free: 8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.4055, allocations: 182.6 kB / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4055, allocations: 0 / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.4058, allocations: 28.53 kB / 0.5382 GB, free: 7.875 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.001119/0.4069, allocations: 447.2 kB / 0.5386 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.4073, allocations: 121.1 kB / 0.5387 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4073, allocations: 5.25 kB / 0.5387 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.4074, allocations: 59.44 kB / 0.5388 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.4079, allocations: 34.61 kB / 0.5388 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007171/0.4086, allocations: 325.5 kB / 0.5391 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.4089, allocations: 0.7277 MB / 0.5398 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.413e-05/0.409, allocations: 25.59 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.4091, allocations: 19.86 kB / 0.5399 GB, free: 6.57 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4091, allocations: 0 / 0.5399 GB, free: 6.57 MB / 398.1 MB Notification: Performance of Templates: time 0.005151/0.4142, allocations: 1.622 MB / 0.5414 GB, free: 5.754 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches