Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 204.3 kB / 18.11 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009333/0.0009332, allocations: 102.9 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3827/0.3827, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003896, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4709, allocations: 62.96 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.5878, allocations: 89.39 MB / 0.6057 GB, free: 15.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.5881, allocations: 79.95 kB / 0.6058 GB, free: 15.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01344/0.6016, allocations: 4.576 MB / 0.6103 GB, free: 11.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6016, allocations: 0 / 0.6103 GB, free: 11.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.6017, allocations: 0 / 0.6103 GB, free: 11.28 MB / 426.7 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.0006077/0.6023, allocations: 415.4 kB / 0.6107 GB, free: 10.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.6023, allocations: 8.031 kB / 0.6107 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.6024, allocations: 16.77 kB / 0.6107 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.6027, allocations: 200.1 kB / 0.6109 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.6027, allocations: 4.375 kB / 0.6109 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.6027, allocations: 4.375 kB / 0.6109 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.6029, allocations: 54.17 kB / 0.6109 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6029, allocations: 4.188 kB / 0.6109 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.6029, allocations: 3.938 kB / 0.6109 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.6029, allocations: 0 / 0.6109 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.483e-05/0.603, allocations: 23.98 kB / 0.611 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.6036, allocations: 292.9 kB / 0.6112 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.6039, allocations: 46.5 kB / 0.6113 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.6039, allocations: 24.94 kB / 0.6113 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.604, allocations: 0 / 0.6113 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.604, allocations: 34.56 kB / 0.6113 GB, free: 10 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.604, allocations: 0 / 0.6113 GB, free: 10 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006361/0.6047, allocations: 173.2 kB / 0.6115 GB, free: 9.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.6047, allocations: 55.39 kB / 0.6116 GB, free: 9.762 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.6049, allocations: 157.4 kB / 0.6117 GB, free: 9.602 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.6049, allocations: 25.7 kB / 0.6117 GB, free: 9.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.605, allocations: 100.1 kB / 0.6118 GB, free: 9.469 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.605, allocations: 23.67 kB / 0.6118 GB, free: 9.445 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.605, allocations: 4 kB / 0.6119 GB, free: 9.441 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6052, allocations: 322.8 kB / 0.6122 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.378e-05/0.6052, allocations: 23.97 kB / 0.6122 GB, free: 9.094 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-05/0.6053, allocations: 23.98 kB / 0.6122 GB, free: 9.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.6055, allocations: 68.77 kB / 0.6123 GB, free: 9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6055, allocations: 0 / 0.6123 GB, free: 9 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002041/0.6057, allocations: 89.58 kB / 0.6124 GB, free: 8.906 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6057, allocations: 4 kB / 0.6124 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6057, allocations: 7.984 kB / 0.6124 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.6058, allocations: 4 kB / 0.6124 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.6058, allocations: 15.94 kB / 0.6124 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.6058, allocations: 3.984 kB / 0.6124 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.6059, allocations: 7.984 kB / 0.6124 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.6059, allocations: 0 / 0.6124 GB, free: 8.863 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.606, allocations: 121.8 kB / 0.6125 GB, free: 8.734 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.6061, allocations: 11.91 kB / 0.6125 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.6063, allocations: 102 kB / 0.6126 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.6063, allocations: 4 kB / 0.6126 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6064, allocations: 3.938 kB / 0.6126 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6064, allocations: 0 / 0.6126 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.6068, allocations: 375.6 kB / 0.613 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6069, allocations: 0 / 0.613 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.85e-05/0.6069, allocations: 16.36 kB / 0.613 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6069, allocations: 0 / 0.613 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.6069, allocations: 0 / 0.613 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.607, allocations: 11.94 kB / 0.613 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.607, allocations: 0 / 0.613 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.6072, allocations: 199.3 kB / 0.6132 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.6073, allocations: 89.28 kB / 0.6133 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.6073, allocations: 4 kB / 0.6133 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.6074, allocations: 7.938 kB / 0.6133 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.6074, allocations: 11.97 kB / 0.6133 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.6075, allocations: 4 kB / 0.6133 GB, free: 7.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.6076, allocations: 127 kB / 0.6134 GB, free: 7.699 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6076, allocations: 0 / 0.6134 GB, free: 7.699 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.6078, allocations: 20 kB / 0.6135 GB, free: 7.68 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008934/0.6087, allocations: 403.2 kB / 0.6138 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.609, allocations: 55.91 kB / 0.6139 GB, free: 7.363 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.609, allocations: 4 kB / 0.6139 GB, free: 7.359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.096e-05/0.6091, allocations: 35.97 kB / 0.6139 GB, free: 7.324 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.6094, allocations: 14.28 kB / 0.6139 GB, free: 7.312 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.6098, allocations: 201.6 kB / 0.6141 GB, free: 7.082 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.6101, allocations: 0.7043 MB / 0.6148 GB, free: 6.352 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.429e-05/0.6102, allocations: 15.98 kB / 0.6148 GB, free: 6.336 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.6102, allocations: 11.44 kB / 0.6149 GB, free: 6.328 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6102, allocations: 0 / 0.6149 GB, free: 6.328 MB / 426.7 MB Notification: Performance of Templates: time 0.003518/0.6137, allocations: 1.105 MB / 0.6159 GB, free: 5.23 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches