Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001113, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, 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.2566/0.2566, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 75.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5226/0.5242, allocations: 62.42 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.006077/0.5303, allocations: 1.603 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.5325, allocations: 0.5388 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.5326, allocations: 5.312 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.5331, allocations: 30.7 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006737/0.5338, allocations: 81.75 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006732/0.5345, allocations: 109.3 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.5348, allocations: 69.94 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.535, allocations: 10.88 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.5351, allocations: 25.48 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.5353, allocations: 21.36 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.5353, allocations: 6.75 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.5355, allocations: 36.59 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.5356, allocations: 14.81 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.618e-05/0.5357, allocations: 31.86 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.5361, allocations: 82.47 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.5361, allocations: 1.375 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5361, allocations: 3.938 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.5362, allocations: 0 / 0.5336 GB, free: 11.63 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.0007942/0.537, allocations: 394.3 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.537, allocations: 13.62 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.5371, allocations: 12.97 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.5375, allocations: 201.3 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.5375, allocations: 1.75 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.5376, allocations: 5.312 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.5378, allocations: 52.61 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.5378, allocations: 0 / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.5379, allocations: 1.375 kB / 0.5343 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5379, allocations: 0 / 0.5343 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.538, allocations: 25.73 kB / 0.5343 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006714/0.5387, allocations: 285.6 kB / 0.5345 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.5391, allocations: 45.75 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.5392, allocations: 19.81 kB / 0.5346 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.5393, allocations: 3.984 kB / 0.5346 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.5394, allocations: 35.94 kB / 0.5346 GB, free: 10.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.365e-06/0.5394, allocations: 0 / 0.5346 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001097/0.5405, allocations: 160.4 kB / 0.5348 GB, free: 10.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.5406, allocations: 51.41 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.5409, allocations: 179.3 kB / 0.535 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.541, allocations: 29.7 kB / 0.535 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/0.5411, allocations: 101.1 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.5411, allocations: 13.59 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.5412, allocations: 25.98 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.5415, allocations: 321.5 kB / 0.5355 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.5416, allocations: 19.52 kB / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.5418, allocations: 21.14 kB / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.542, allocations: 63.2 kB / 0.5356 GB, free: 9.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5421, allocations: 0 / 0.5356 GB, free: 9.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003956/0.5425, allocations: 91.78 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.5425, allocations: 8 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5425, allocations: 0 / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.5426, allocations: 1.312 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.5427, allocations: 12.77 kB / 0.5357 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.5427, allocations: 1.188 kB / 0.5357 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.605e-05/0.5428, allocations: 11.28 kB / 0.5357 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.5429, allocations: 1.062 kB / 0.5357 GB, free: 9.598 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 0.0001745/0.5431, allocations: 120.6 kB / 0.5358 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/0.5431, allocations: 8.734 kB / 0.5358 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.5436, allocations: 104.9 kB / 0.5359 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5436, allocations: 1.125 kB / 0.5359 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.5437, allocations: 5.062 kB / 0.5359 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.5437, allocations: 3.938 kB / 0.5359 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009046/0.5446, allocations: 353.1 kB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5446, allocations: 1.094 kB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.5447, allocations: 17.58 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.5448, allocations: 0 / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.5448, allocations: 5.062 kB / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.5448, allocations: 1.344 kB / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/0.5448, allocations: 4 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.5453, allocations: 186.9 kB / 0.5365 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/0.5454, allocations: 87.17 kB / 0.5366 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.5455, allocations: 5 kB / 0.5366 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.5456, allocations: 6.984 kB / 0.5366 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.5457, allocations: 6.031 kB / 0.5366 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.5457, allocations: 2.094 kB / 0.5366 GB, free: 8.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.546, allocations: 139.6 kB / 0.5367 GB, free: 8.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.546, allocations: 1.062 kB / 0.5367 GB, free: 8.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004761/0.5465, allocations: 22.45 kB / 0.5367 GB, free: 8.633 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.00179/0.5483, allocations: 396.3 kB / 0.5371 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.5486, allocations: 46.41 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.5487, allocations: 4 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.5488, allocations: 37 kB / 0.5372 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.5495, allocations: 20.41 kB / 0.5372 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009011/0.5505, allocations: 197.9 kB / 0.5374 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/0.5511, allocations: 0.7013 MB / 0.5381 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.5512, allocations: 23.59 kB / 0.5381 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.5512, allocations: 12.41 kB / 0.5381 GB, free: 7.484 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5513, allocations: 0 / 0.5381 GB, free: 7.484 MB / 398.1 MB Notification: Performance of Templates: time 0.008161/0.5594, allocations: 1.145 MB / 0.5393 GB, free: 6.895 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches