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.001368/0.001368, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 247.6 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.2322/0.2322, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 80.38 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3945, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00326/0.3979, allocations: 1.649 MB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.399, allocations: 0.5382 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.399, allocations: 2.219 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.3994, allocations: 98.23 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.3997, allocations: 114.2 kB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.4, allocations: 99.56 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.4002, allocations: 94.44 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.4003, allocations: 26.97 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.051e-05/0.4004, allocations: 47.03 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.4005, allocations: 60.69 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.4005, allocations: 5.5 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.4006, allocations: 46.23 kB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.4007, allocations: 29.52 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.4008, allocations: 39.94 kB / 0.5345 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.401, allocations: 130.1 kB / 0.5346 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.401, allocations: 1.375 kB / 0.5346 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.401, allocations: 3.938 kB / 0.5346 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.401, allocations: 0 / 0.5346 GB, free: 11.43 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.0005746/0.4016, allocations: 435 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4017, allocations: 9.625 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.4017, allocations: 15.62 kB / 0.535 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.4019, allocations: 209.7 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.402, allocations: 3.125 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.402, allocations: 7.125 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.4022, allocations: 86.22 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4022, allocations: 0 / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4022, allocations: 5.375 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4022, allocations: 1.281 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.4023, allocations: 38.94 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.4028, allocations: 323.5 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.403, allocations: 65.84 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.403, allocations: 28.25 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.4031, allocations: 5.203 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.4031, allocations: 35.77 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.4031, allocations: 0 / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001044/0.4041, allocations: 312.3 kB / 0.5361 GB, free: 10.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.4042, allocations: 57.5 kB / 0.5362 GB, free: 9.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.4045, allocations: 233.9 kB / 0.5364 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.4045, allocations: 30.92 kB / 0.5364 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.4046, allocations: 114.7 kB / 0.5365 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.4046, allocations: 48 kB / 0.5366 GB, free: 9.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.4047, allocations: 26.8 kB / 0.5366 GB, free: 9.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4048, allocations: 331.5 kB / 0.5369 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-05/0.4049, allocations: 31.39 kB / 0.5369 GB, free: 9.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.547e-05/0.405, allocations: 41.25 kB / 0.537 GB, free: 9.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.4052, allocations: 89.11 kB / 0.5371 GB, free: 9.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4052, allocations: 1.438 kB / 0.5371 GB, free: 9.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002588/0.4054, allocations: 142.4 kB / 0.5372 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4055, allocations: 4.531 kB / 0.5372 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4055, allocations: 1.094 kB / 0.5372 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4055, allocations: 5.312 kB / 0.5372 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.4056, allocations: 24.2 kB / 0.5372 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.4057, allocations: 1.438 kB / 0.5372 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.4057, allocations: 10.7 kB / 0.5372 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.4057, allocations: 4.125 kB / 0.5372 GB, free: 9.117 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.0001045/0.4058, allocations: 130.9 kB / 0.5374 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.4059, allocations: 21.72 kB / 0.5374 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.4063, allocations: 163.2 kB / 0.5375 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.4063, allocations: 6.562 kB / 0.5376 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4063, allocations: 0 / 0.5376 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4063, allocations: 0 / 0.5376 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.4069, allocations: 489.9 kB / 0.538 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4069, allocations: 1.312 kB / 0.538 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.911e-05/0.407, allocations: 32.36 kB / 0.538 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.407, allocations: 1.125 kB / 0.5381 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.4071, allocations: 2.25 kB / 0.5381 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.4071, allocations: 5.156 kB / 0.5381 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4071, allocations: 0 / 0.5381 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.4074, allocations: 243.3 kB / 0.5383 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.4074, allocations: 88.39 kB / 0.5384 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.4075, allocations: 2.281 kB / 0.5384 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.4076, allocations: 11.3 kB / 0.5384 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.4076, allocations: 8.5 kB / 0.5384 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.4076, allocations: 8.547 kB / 0.5384 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001652/0.4078, allocations: 178.7 kB / 0.5386 GB, free: 7.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4078, allocations: 4 kB / 0.5386 GB, free: 7.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.4081, allocations: 30.55 kB / 0.5386 GB, free: 7.973 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.001088/0.4092, allocations: 448.3 kB / 0.539 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.4095, allocations: 98.08 kB / 0.5391 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4095, allocations: 0 / 0.5391 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.4096, allocations: 56.12 kB / 0.5392 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.41, allocations: 31.7 kB / 0.5392 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.4106, allocations: 334.5 kB / 0.5395 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4109, allocations: 0.7224 MB / 0.5402 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.411, allocations: 17.03 kB / 0.5403 GB, free: 6.684 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.411, allocations: 0 / 0.5403 GB, free: 6.684 MB / 398.1 MB Notification: Performance of Templates: time 0.004211/0.4152, allocations: 2.077 MB / 0.5423 GB, free: 5.605 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches