Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001482/0.001482, allocations: 117.8 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 207.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.00151, allocations: 76.16 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4302, allocations: 62.45 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002981/0.4332, allocations: 1.616 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.435, allocations: 1.16 MB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.4351, allocations: 9.562 kB / 0.5337 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.4353, allocations: 28.03 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.4356, allocations: 82.44 kB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.436, allocations: 111.3 kB / 0.5339 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.4362, allocations: 83.06 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.4363, allocations: 27.7 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/0.4363, allocations: 22.98 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.4365, allocations: 36.59 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.4365, allocations: 4.688 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.4367, allocations: 104.1 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.4368, allocations: 17.02 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.4368, allocations: 34.61 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.4371, allocations: 146.6 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4371, allocations: 4 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4371, allocations: 1.219 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.4371, allocations: 0 / 0.5344 GB, free: 10.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005974/0.4378, allocations: 421 kB / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.4378, allocations: 8.969 kB / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.4379, allocations: 10 kB / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.4381, allocations: 203.1 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.4381, allocations: 1.75 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.4382, allocations: 3.125 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.4383, allocations: 86.7 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4384, allocations: 5.359 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4384, allocations: 0 / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.4384, allocations: 1.375 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.4385, allocations: 36.59 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.439, allocations: 305.8 kB / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.4391, allocations: 61.92 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.4392, allocations: 22.59 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.4392, allocations: 1.375 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.4393, allocations: 31.94 kB / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.4393, allocations: 0 / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007007/0.44, allocations: 206.4 kB / 0.5357 GB, free: 9.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.44, allocations: 78.48 kB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.4402, allocations: 162.8 kB / 0.536 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.4402, allocations: 29.7 kB / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.4403, allocations: 100.6 kB / 0.5361 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.4403, allocations: 30.77 kB / 0.5361 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.4404, allocations: 20.12 kB / 0.5362 GB, free: 9.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.4405, allocations: 326 kB / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.4406, allocations: 23.14 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/0.4407, allocations: 45.31 kB / 0.5365 GB, free: 8.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.4409, allocations: 73.3 kB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4409, allocations: 1.031 kB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002263/0.4411, allocations: 115.9 kB / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4412, allocations: 5.156 kB / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4412, allocations: 7.938 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.4412, allocations: 0 / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4413, allocations: 18.73 kB / 0.5367 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4413, allocations: 3.938 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.4414, allocations: 4.531 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4414, allocations: 1.281 kB / 0.5367 GB, free: 8.785 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.0001027/0.4415, allocations: 128.2 kB / 0.5369 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.4415, allocations: 8.312 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003099/0.4418, allocations: 122.8 kB / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4419, allocations: 1.531 kB / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4419, allocations: 3.938 kB / 0.537 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4419, allocations: 5.266 kB / 0.537 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.4425, allocations: 399.5 kB / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4425, allocations: 1.156 kB / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.4425, allocations: 25.52 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.4426, allocations: 5 kB / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.4426, allocations: 1.125 kB / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4426, allocations: 0 / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4426, allocations: 1.031 kB / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.4429, allocations: 210.6 kB / 0.5376 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.4429, allocations: 87.97 kB / 0.5377 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.443, allocations: 1.094 kB / 0.5377 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.443, allocations: 6.719 kB / 0.5377 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.4431, allocations: 11.14 kB / 0.5377 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.4431, allocations: 2.344 kB / 0.5377 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.4433, allocations: 123.4 kB / 0.5378 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4433, allocations: 0 / 0.5378 GB, free: 7.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.4436, allocations: 38.72 kB / 0.5379 GB, free: 7.77 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 (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.001139/0.4447, allocations: 0.4997 MB / 0.5384 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.445, allocations: 67.98 kB / 0.5384 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.445, allocations: 0 / 0.5384 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.4451, allocations: 44.5 kB / 0.5385 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.4454, allocations: 25.7 kB / 0.5385 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.446, allocations: 199 kB / 0.5387 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.4463, allocations: 0.6979 MB / 0.5394 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.391e-05/0.4464, allocations: 25.55 kB / 0.5394 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.4465, allocations: 23.55 kB / 0.5394 GB, free: 6.543 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4465, allocations: 0 / 0.5394 GB, free: 6.543 MB / 398.1 MB Notification: Performance of Templates: time 0.005947/0.4524, allocations: 1.891 MB / 0.5413 GB, free: 5.559 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches