Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.001121, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2558/0.2558, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002235, allocations: 75.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4241, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003175/0.4273, allocations: 1.6 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.4291, allocations: 1.153 MB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.4292, allocations: 4 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.4294, allocations: 21.42 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.4297, allocations: 85.08 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.43, allocations: 86.41 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.4302, allocations: 70 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.4303, allocations: 10.62 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.101e-05/0.4304, allocations: 25.86 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008267/0.4386, allocations: 43.27 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.4387, allocations: 3.562 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002732/0.439, allocations: 95.59 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.099e-05/0.4391, allocations: 19.61 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.4391, allocations: 16.53 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.4394, allocations: 146.8 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4395, allocations: 3.938 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4395, allocations: 0 / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4395, allocations: 0 / 0.5343 GB, free: 11.08 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.0005695/0.4401, allocations: 408.3 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4401, allocations: 9.125 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.4402, allocations: 8.328 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.4404, allocations: 196.9 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.4404, allocations: 1.375 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.4405, allocations: 2.5 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.4407, allocations: 68.83 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4407, allocations: 0 / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4407, allocations: 4 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.4407, allocations: 1.219 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.4408, allocations: 24.55 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.4413, allocations: 288 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.4415, allocations: 39.78 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.4416, allocations: 22.38 kB / 0.5353 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.4416, allocations: 1.375 kB / 0.5353 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.4417, allocations: 35.94 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4417, allocations: 0 / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006455/0.4423, allocations: 136.8 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.4424, allocations: 78.48 kB / 0.5356 GB, free: 9.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.4426, allocations: 150.7 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.4426, allocations: 25.7 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.4427, allocations: 90.89 kB / 0.5358 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.4427, allocations: 22.55 kB / 0.5358 GB, free: 9.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.4428, allocations: 17.83 kB / 0.5359 GB, free: 9.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4429, allocations: 321.5 kB / 0.5362 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.443, allocations: 17.61 kB / 0.5362 GB, free: 9.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.4431, allocations: 39.44 kB / 0.5362 GB, free: 9.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.4432, allocations: 44.22 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4433, allocations: 0 / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000207/0.4435, allocations: 88.09 kB / 0.5363 GB, free: 9.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.4435, allocations: 6.438 kB / 0.5363 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4435, allocations: 0 / 0.5363 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.4435, allocations: 4.031 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.268e-05/0.4436, allocations: 13.45 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4436, allocations: 1.406 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.4437, allocations: 2.531 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.4437, allocations: 6.594 kB / 0.5364 GB, free: 9.023 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.0001239/0.4438, allocations: 112.8 kB / 0.5365 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.4439, allocations: 12.53 kB / 0.5365 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.4442, allocations: 99.94 kB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4442, allocations: 1.062 kB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4442, allocations: 320 / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4442, allocations: 1.188 kB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.4447, allocations: 350 kB / 0.5369 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4447, allocations: 0 / 0.5369 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.4448, allocations: 17.8 kB / 0.5369 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4448, allocations: 5.031 kB / 0.5369 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.4448, allocations: 5.094 kB / 0.537 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.4448, allocations: 3.938 kB / 0.537 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4448, allocations: 0 / 0.537 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.4451, allocations: 176.7 kB / 0.5371 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.4452, allocations: 87.22 kB / 0.5372 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.4452, allocations: 0 / 0.5372 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.148e-05/0.4453, allocations: 15.42 kB / 0.5372 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.4453, allocations: 2.062 kB / 0.5372 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.4454, allocations: 2.156 kB / 0.5372 GB, free: 8.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.4455, allocations: 116.8 kB / 0.5373 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4455, allocations: 0 / 0.5373 GB, free: 8.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.4458, allocations: 35.09 kB / 0.5374 GB, free: 8.07 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.001155/0.447, allocations: 0.4969 MB / 0.5379 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.4472, allocations: 47.78 kB / 0.5379 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4472, allocations: 0 / 0.5379 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.435e-05/0.4473, allocations: 23.7 kB / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.4477, allocations: 15.73 kB / 0.5379 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.4481, allocations: 164.9 kB / 0.5381 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.4484, allocations: 0.6931 MB / 0.5388 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.684e-05/0.4485, allocations: 18.72 kB / 0.5388 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.4485, allocations: 18.27 kB / 0.5388 GB, free: 6.895 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4485, allocations: 0 / 0.5388 GB, free: 6.895 MB / 398.1 MB Notification: Performance of Templates: time 0.005368/0.4539, allocations: 1.748 MB / 0.5405 GB, free: 5.984 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches