Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001087, allocations: 122.8 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.001336/0.001337, allocations: 197.2 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.433/1.433, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2481/0.2481, allocations: 46.1 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 76.09 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.424, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003506/0.4276, allocations: 1.614 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.4288, allocations: 0.55 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.4289, allocations: 1.375 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.4293, allocations: 75.33 kB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004197/0.4297, allocations: 100.7 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.4301, allocations: 114.1 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.4304, allocations: 83.81 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.4306, allocations: 16.8 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/0.4307, allocations: 34.97 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.4309, allocations: 47.2 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.4309, allocations: 4.375 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.4311, allocations: 40.89 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.105e-05/0.4312, allocations: 27.34 kB / 0.5337 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.4312, allocations: 33.28 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.4315, allocations: 109.1 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.4316, allocations: 0 / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.4316, allocations: 0 / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.4316, allocations: 0 / 0.5338 GB, free: 11.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000837/0.4324, allocations: 408.5 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/0.4325, allocations: 9.781 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.4326, allocations: 17.42 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.4329, allocations: 199.8 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.433, allocations: 1.531 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.433, allocations: 6.516 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.4332, allocations: 70.72 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.4333, allocations: 1.094 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.4333, allocations: 0 / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.4333, allocations: 1.188 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.4334, allocations: 27.88 kB / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006432/0.4341, allocations: 306.9 kB / 0.5348 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.4343, allocations: 44.94 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.351e-05/0.4344, allocations: 20.94 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.4344, allocations: 1.125 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.4344, allocations: 30.56 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.4344, allocations: 5.188 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001143/0.4356, allocations: 233.5 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.4357, allocations: 52.78 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.4359, allocations: 207.9 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.4359, allocations: 29.7 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.436, allocations: 105.7 kB / 0.5355 GB, free: 9.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.4361, allocations: 30.25 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.4361, allocations: 28.52 kB / 0.5356 GB, free: 9.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4363, allocations: 323 kB / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.4364, allocations: 27.11 kB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.137e-05/0.4364, allocations: 33.84 kB / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.4366, allocations: 73.73 kB / 0.536 GB, free: 9.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4366, allocations: 0 / 0.536 GB, free: 9.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002272/0.4369, allocations: 108.4 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4369, allocations: 5.156 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4369, allocations: 1.219 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4369, allocations: 0 / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.4371, allocations: 26.08 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4371, allocations: 4 kB / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.4371, allocations: 8.062 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4372, allocations: 1.719 kB / 0.5361 GB, free: 9.391 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.0001063/0.4373, allocations: 128.2 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.4373, allocations: 13.38 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.4376, allocations: 136.9 kB / 0.5364 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4377, allocations: 5 kB / 0.5364 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4377, allocations: 5 kB / 0.5364 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4377, allocations: 3.938 kB / 0.5364 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006124/0.4383, allocations: 415.5 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4383, allocations: 0 / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.4384, allocations: 17.58 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.4384, allocations: 5.391 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4384, allocations: 5.969 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4384, allocations: 9.062 kB / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4384, allocations: 0 / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.4387, allocations: 213.2 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.4388, allocations: 95.05 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.4388, allocations: 2.188 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.4389, allocations: 7.281 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.439, allocations: 7.422 kB / 0.5372 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.439, allocations: 6.156 kB / 0.5372 GB, free: 8.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.4391, allocations: 150.3 kB / 0.5373 GB, free: 8.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.554e-06/0.4391, allocations: 0 / 0.5373 GB, free: 8.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.4394, allocations: 22.41 kB / 0.5373 GB, free: 8.328 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 (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.001207/0.4406, allocations: 451.8 kB / 0.5378 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.4409, allocations: 71.95 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.441, allocations: 0 / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.4411, allocations: 39.75 kB / 0.5379 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.4415, allocations: 24.08 kB / 0.5379 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.4421, allocations: 259.2 kB / 0.5381 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.4425, allocations: 0.7071 MB / 0.5388 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.806e-05/0.4425, allocations: 23.86 kB / 0.5388 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.4426, allocations: 17.77 kB / 0.5389 GB, free: 7.098 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4426, allocations: 0 / 0.5389 GB, free: 7.098 MB / 398.1 MB Notification: Performance of Templates: time 0.004822/0.4474, allocations: 1.381 MB / 0.5402 GB, free: 6.398 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches