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/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.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/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 121.7 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.001726/0.001726, allocations: 199.8 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.477/1.477, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4342, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003205/0.4374, allocations: 1.594 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.4386, allocations: 0.5459 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.4387, allocations: 5.312 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.439, allocations: 25.3 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.4393, allocations: 76.42 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.4397, allocations: 122.6 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.4398, allocations: 57.97 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.44, allocations: 18.86 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.44, allocations: 19.91 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.375e-05/0.4401, allocations: 27.09 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.4401, allocations: 2.062 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.236e-05/0.4402, allocations: 32.8 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.4403, allocations: 13.28 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.4403, allocations: 24.3 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.4405, allocations: 80.66 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4406, allocations: 5 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4406, allocations: 3.938 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.4406, allocations: 0 / 0.5336 GB, free: 11.62 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005187/0.4411, allocations: 383.6 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4411, allocations: 9.5 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.4412, allocations: 8.062 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.4414, allocations: 193.6 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.4414, allocations: 1.5 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.4415, allocations: 11.34 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.4417, allocations: 56.48 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4417, allocations: 0 / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4417, allocations: 0 / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4417, allocations: 1.375 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.4418, allocations: 25.14 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.4422, allocations: 288.5 kB / 0.5345 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.4425, allocations: 45.53 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.155e-05/0.4426, allocations: 19.91 kB / 0.5346 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.4426, allocations: 9.047 kB / 0.5346 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.4426, allocations: 31.75 kB / 0.5346 GB, free: 10.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.4426, allocations: 0 / 0.5346 GB, free: 10.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000658/0.4433, allocations: 166.7 kB / 0.5348 GB, free: 10.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.4433, allocations: 52.47 kB / 0.5348 GB, free: 10.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.4435, allocations: 166.3 kB / 0.535 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.4436, allocations: 26.86 kB / 0.535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.4436, allocations: 95.97 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.4437, allocations: 13.12 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.4437, allocations: 18.16 kB / 0.5351 GB, free: 10.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4438, allocations: 325.2 kB / 0.5354 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.4439, allocations: 20.48 kB / 0.5355 GB, free: 9.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.888e-05/0.444, allocations: 24.58 kB / 0.5355 GB, free: 9.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.4442, allocations: 55.12 kB / 0.5355 GB, free: 9.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4442, allocations: 0 / 0.5355 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000203/0.4444, allocations: 83.52 kB / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.4444, allocations: 9.375 kB / 0.5356 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4444, allocations: 0 / 0.5356 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.4445, allocations: 1.344 kB / 0.5356 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.4445, allocations: 13.33 kB / 0.5356 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.4446, allocations: 0 / 0.5356 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.4446, allocations: 16.05 kB / 0.5357 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.4446, allocations: 1.375 kB / 0.5357 GB, free: 9.625 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 (5): * Single equations (assignments): 5 * 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.921e-05/0.4447, allocations: 115.3 kB / 0.5358 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.4448, allocations: 12.03 kB / 0.5358 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.4451, allocations: 101.6 kB / 0.5359 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4451, allocations: 3.938 kB / 0.5359 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4451, allocations: 1.375 kB / 0.5359 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4451, allocations: 3.938 kB / 0.5359 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.4456, allocations: 348.4 kB / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.4456, allocations: 5.438 kB / 0.5362 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.4457, allocations: 17.61 kB / 0.5362 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4457, allocations: 0 / 0.5362 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.4457, allocations: 9.25 kB / 0.5363 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4457, allocations: 3.984 kB / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4457, allocations: 0 / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.446, allocations: 186.8 kB / 0.5364 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.446, allocations: 83.77 kB / 0.5365 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.4461, allocations: 5.375 kB / 0.5365 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.4461, allocations: 6.609 kB / 0.5365 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.4462, allocations: 2.5 kB / 0.5365 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-06/0.4462, allocations: 1.219 kB / 0.5365 GB, free: 8.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.4463, allocations: 123.8 kB / 0.5366 GB, free: 8.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4463, allocations: 0 / 0.5366 GB, free: 8.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.4466, allocations: 26.83 kB / 0.5367 GB, free: 8.668 MB / 398.1 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 (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.0009991/0.4476, allocations: 398.8 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.4478, allocations: 54.31 kB / 0.5371 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4478, allocations: 1.125 kB / 0.5371 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.761e-05/0.4479, allocations: 28.45 kB / 0.5371 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.4483, allocations: 25.89 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.4489, allocations: 201.1 kB / 0.5373 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.4492, allocations: 0.6941 MB / 0.538 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.674e-05/0.4493, allocations: 15.45 kB / 0.538 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.4493, allocations: 11.97 kB / 0.5381 GB, free: 7.516 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4493, allocations: 0 / 0.5381 GB, free: 7.516 MB / 398.1 MB Notification: Performance of Templates: time 0.004368/0.4537, allocations: 1.146 MB / 0.5392 GB, free: 6.922 MB / 398.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches