Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, 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.001571/0.001571, 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.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 72.11 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.391, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002876/0.3939, allocations: 1.653 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00098/0.3949, allocations: 0.5417 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.395, allocations: 1.688 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.3952, allocations: 103.1 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.3956, allocations: 109.9 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.3959, allocations: 95.06 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.396, allocations: 99.11 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.3961, allocations: 26.98 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.347e-05/0.3962, allocations: 41.7 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3963, allocations: 66 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3964, allocations: 4.125 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.3965, allocations: 47.61 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.3965, allocations: 21.55 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.3966, allocations: 47.91 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.3968, allocations: 126.2 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3968, allocations: 4 kB / 0.5339 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3968, allocations: 0 / 0.5339 GB, free: 11.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.3968, allocations: 1.375 kB / 0.5339 GB, free: 11.42 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004844/0.3973, allocations: 434.9 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.3973, allocations: 9.625 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.3974, allocations: 15.62 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.3976, allocations: 209.7 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.3976, allocations: 1.75 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.3976, allocations: 8.5 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.3978, allocations: 80.97 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3978, allocations: 5.312 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3978, allocations: 0 / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3978, allocations: 1.375 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.3979, allocations: 39.34 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.3984, allocations: 328.6 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3985, allocations: 66 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.3985, allocations: 22.47 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.3986, allocations: 2.188 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.3986, allocations: 31.66 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3986, allocations: 0 / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001002/0.3996, allocations: 312.8 kB / 0.5354 GB, free: 10.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.3997, allocations: 56.44 kB / 0.5355 GB, free: 9.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.3999, allocations: 238.5 kB / 0.5357 GB, free: 9.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.3999, allocations: 26.86 kB / 0.5357 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.4, allocations: 115.1 kB / 0.5358 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.4001, allocations: 51.67 kB / 0.5359 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/0.4002, allocations: 26.52 kB / 0.5359 GB, free: 9.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4003, allocations: 327.3 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.455e-05/0.4004, allocations: 31.98 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/0.4005, allocations: 40.31 kB / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.4007, allocations: 93.55 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4007, allocations: 4 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002444/0.401, allocations: 135.2 kB / 0.5365 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.401, allocations: 5.594 kB / 0.5365 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.401, allocations: 3.938 kB / 0.5365 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.401, allocations: 5.406 kB / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.4011, allocations: 24.17 kB / 0.5366 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4012, allocations: 1.094 kB / 0.5366 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.4012, allocations: 10.83 kB / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.4012, allocations: 3.188 kB / 0.5366 GB, free: 9.113 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 9.781e-05/0.4013, allocations: 135.4 kB / 0.5367 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.4014, allocations: 14.88 kB / 0.5367 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.4017, allocations: 162.7 kB / 0.5369 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4017, allocations: 6.594 kB / 0.5369 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4018, allocations: 0 / 0.5369 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4018, allocations: 0 / 0.5369 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006344/0.4024, allocations: 490.5 kB / 0.5373 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4024, allocations: 0 / 0.5373 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/0.4025, allocations: 32.8 kB / 0.5374 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4025, allocations: 1.406 kB / 0.5374 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4025, allocations: 2.875 kB / 0.5374 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4025, allocations: 0 / 0.5374 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4026, allocations: 1.188 kB / 0.5374 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.4029, allocations: 250.4 kB / 0.5376 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.4029, allocations: 89.08 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.403, allocations: 1.469 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.403, allocations: 11.45 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.4031, allocations: 4.312 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.4031, allocations: 16.42 kB / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.4033, allocations: 182.4 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4033, allocations: 0 / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000278/0.4036, allocations: 30.52 kB / 0.5379 GB, free: 7.969 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.001098/0.4047, allocations: 456.4 kB / 0.5384 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.405, allocations: 93.08 kB / 0.5385 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.405, allocations: 1.125 kB / 0.5385 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.4051, allocations: 56.06 kB / 0.5385 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.4055, allocations: 32.48 kB / 0.5385 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000738/0.4063, allocations: 310.8 kB / 0.5388 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.4067, allocations: 0.7134 MB / 0.5395 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.373e-05/0.4068, allocations: 19.53 kB / 0.5396 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.4068, allocations: 23.94 kB / 0.5396 GB, free: 6.699 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4068, allocations: 1 kB / 0.5396 GB, free: 6.699 MB / 398.1 MB Notification: Performance of Templates: time 0.00595/0.4128, allocations: 1.565 MB / 0.5411 GB, free: 5.906 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches