Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, 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.489/1.489, 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.2193/0.2193, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 72.11 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3934, allocations: 62.45 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003233/0.3967, allocations: 1.617 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3977, allocations: 0.5445 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.3978, allocations: 1.5 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.3981, allocations: 126.5 kB / 0.5333 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.3985, allocations: 126.6 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.3988, allocations: 119 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.399, allocations: 97.17 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3991, allocations: 22.16 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.275e-05/0.3992, allocations: 46.5 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.3994, allocations: 81.52 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3994, allocations: 7.125 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.3995, allocations: 45.14 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.3996, allocations: 27.17 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.3996, allocations: 46.09 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.3999, allocations: 120.7 kB / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3999, allocations: 0 / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3999, allocations: 0 / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3999, allocations: 1.375 kB / 0.534 GB, free: 11.44 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.0006201/0.4005, allocations: 434.8 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4006, allocations: 17.56 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.4006, allocations: 14.25 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.4009, allocations: 210.9 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.4009, allocations: 1.75 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.4009, allocations: 7.062 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.4011, allocations: 62.11 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.4012, allocations: 1.375 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4012, allocations: 0 / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4012, allocations: 1.375 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.4013, allocations: 31.09 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.402, allocations: 312.5 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.4022, allocations: 44.38 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.332e-05/0.4023, allocations: 21.19 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.4023, allocations: 0 / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.4023, allocations: 35.94 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.4024, allocations: 0 / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0013/0.4037, allocations: 248.1 kB / 0.5353 GB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.4037, allocations: 56.56 kB / 0.5354 GB, free: 10.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.4042, allocations: 283.4 kB / 0.5357 GB, free: 9.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.4042, allocations: 25.7 kB / 0.5357 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4044, allocations: 120.1 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.4044, allocations: 22.16 kB / 0.5358 GB, free: 9.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.4045, allocations: 28.23 kB / 0.5358 GB, free: 9.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.4047, allocations: 324.2 kB / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.4048, allocations: 28.45 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.4049, allocations: 36.16 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.4052, allocations: 77.91 kB / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4052, allocations: 1.125 kB / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002855/0.4055, allocations: 110.4 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.4055, allocations: 4.312 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.4055, allocations: 1.031 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.4056, allocations: 8.969 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.4057, allocations: 25.64 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.4057, allocations: 0 / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.4058, allocations: 11.16 kB / 0.5364 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.4058, allocations: 6.406 kB / 0.5365 GB, free: 9.199 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 0.0001621/0.406, allocations: 138.2 kB / 0.5366 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.406, allocations: 10.69 kB / 0.5366 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004207/0.4065, allocations: 136.5 kB / 0.5367 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4065, allocations: 1.031 kB / 0.5367 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4065, allocations: 0.9062 kB / 0.5367 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.366e-05/0.4065, allocations: 7.922 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007632/0.4073, allocations: 424.6 kB / 0.5371 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.4073, allocations: 5.016 kB / 0.5371 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.4074, allocations: 17.45 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.4074, allocations: 9.062 kB / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.4074, allocations: 5.094 kB / 0.5372 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4075, allocations: 5 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4075, allocations: 1.156 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.4078, allocations: 218.1 kB / 0.5374 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.4079, allocations: 92.58 kB / 0.5375 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.4079, allocations: 5.719 kB / 0.5375 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.408, allocations: 3.625 kB / 0.5375 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.4081, allocations: 7.797 kB / 0.5375 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.4081, allocations: 5.781 kB / 0.5375 GB, free: 8.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002732/0.4084, allocations: 208.2 kB / 0.5377 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4084, allocations: 0 / 0.5377 GB, free: 8.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.4087, allocations: 19.19 kB / 0.5377 GB, free: 8.121 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.001122/0.4098, allocations: 456.6 kB / 0.5382 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.4101, allocations: 79.45 kB / 0.5382 GB, free: 7.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.4101, allocations: 4 kB / 0.5382 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.4102, allocations: 39.09 kB / 0.5383 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.4106, allocations: 29.45 kB / 0.5383 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007314/0.4113, allocations: 315.6 kB / 0.5386 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.4117, allocations: 0.726 MB / 0.5393 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.069e-05/0.4118, allocations: 20.56 kB / 0.5393 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.4118, allocations: 13.12 kB / 0.5393 GB, free: 6.855 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4119, allocations: 1.062 kB / 0.5393 GB, free: 6.855 MB / 398.1 MB Notification: Performance of Templates: time 0.004653/0.4165, allocations: 1.44 MB / 0.5407 GB, free: 6.117 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches