Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 107.5 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3847/0.3847, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 71.88 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.326, allocations: 62.01 MB / 0.5152 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002851/0.3289, allocations: 1.658 MB / 0.5168 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.33, allocations: 0.5186 MB / 0.5173 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.3301, allocations: 0 / 0.5173 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.3304, allocations: 20.89 kB / 0.5173 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.3307, allocations: 70.84 kB / 0.5174 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.331, allocations: 69 kB / 0.5174 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.3312, allocations: 74 kB / 0.5175 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3313, allocations: 9.75 kB / 0.5175 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.801e-05/0.3314, allocations: 24.06 kB / 0.5175 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.3315, allocations: 16.91 kB / 0.5175 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3315, allocations: 6.844 kB / 0.5176 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.736e-05/0.3316, allocations: 32.52 kB / 0.5176 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.3317, allocations: 9.109 kB / 0.5176 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.3317, allocations: 22.78 kB / 0.5176 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.3319, allocations: 78.25 kB / 0.5177 GB, free: 36.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3319, allocations: 0 / 0.5177 GB, free: 36.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3319, allocations: 0 / 0.5177 GB, free: 36.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.3319, allocations: 2.656 kB / 0.5177 GB, free: 36.16 MB / 378.7 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.0004333/0.3324, allocations: 383 kB / 0.5181 GB, free: 35.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3324, allocations: 12.75 kB / 0.5181 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.3325, allocations: 10.69 kB / 0.5181 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.3326, allocations: 185.5 kB / 0.5183 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3326, allocations: 3.562 kB / 0.5183 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.3327, allocations: 384 / 0.5183 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.3328, allocations: 55.95 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3328, allocations: 0 / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3328, allocations: 4 kB / 0.5183 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3328, allocations: 3.938 kB / 0.5183 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/0.3329, allocations: 24.98 kB / 0.5183 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.3333, allocations: 275.9 kB / 0.5186 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.3335, allocations: 43.66 kB / 0.5187 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.3336, allocations: 18.14 kB / 0.5187 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.3336, allocations: 0 / 0.5187 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3336, allocations: 40.55 kB / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.3336, allocations: 0 / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005782/0.3342, allocations: 133.4 kB / 0.5188 GB, free: 35.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.3343, allocations: 53.72 kB / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3344, allocations: 150.4 kB / 0.519 GB, free: 34.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.3344, allocations: 25.7 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.3345, allocations: 98.03 kB / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.3345, allocations: 22.56 kB / 0.5192 GB, free: 34.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.3346, allocations: 15.67 kB / 0.5192 GB, free: 34.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.512e-05/0.3346, allocations: 325 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-05/0.3347, allocations: 19.45 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.3348, allocations: 22.55 kB / 0.5195 GB, free: 34.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.3349, allocations: 45.61 kB / 0.5196 GB, free: 34.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3349, allocations: 0 / 0.5196 GB, free: 34.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001526/0.3351, allocations: 84.22 kB / 0.5197 GB, free: 34.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3351, allocations: 5.438 kB / 0.5197 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3351, allocations: 0 / 0.5197 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3351, allocations: 3.938 kB / 0.5197 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.828e-05/0.3352, allocations: 15.88 kB / 0.5197 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3352, allocations: 0 / 0.5197 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.3352, allocations: 10.88 kB / 0.5197 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.3353, allocations: 0 / 0.5197 GB, free: 34.32 MB / 378.7 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 5.84e-05/0.3353, allocations: 119.7 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.3354, allocations: 6.875 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.3356, allocations: 95.23 kB / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3356, allocations: 0 / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3356, allocations: 0 / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3356, allocations: 4 kB / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.3359, allocations: 345.5 kB / 0.5202 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3359, allocations: 0 / 0.5202 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.336, allocations: 16.75 kB / 0.5203 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.336, allocations: 0 / 0.5203 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.336, allocations: 6.844 kB / 0.5203 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.336, allocations: 7.938 kB / 0.5203 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.336, allocations: 0 / 0.5203 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.3364, allocations: 0.7521 MB / 0.521 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.3364, allocations: 86.89 kB / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3365, allocations: 0 / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.477e-05/0.3365, allocations: 3 kB / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.3366, allocations: 10.17 kB / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3366, allocations: 0 / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.886e-05/0.3366, allocations: 117.2 kB / 0.5212 GB, free: 32.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3366, allocations: 0 / 0.5212 GB, free: 32.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000316/0.337, allocations: 19.72 kB / 0.5212 GB, free: 32.86 MB / 378.7 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.0007378/0.3377, allocations: 404.7 kB / 0.5216 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.3379, allocations: 47.7 kB / 0.5217 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3379, allocations: 6.812 kB / 0.5217 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.904e-05/0.3379, allocations: 21.28 kB / 0.5217 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.3383, allocations: 24.84 kB / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.3386, allocations: 303.9 kB / 0.522 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.814e-05/0.3387, allocations: 0.6945 MB / 0.5227 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.605e-05/0.3388, allocations: 9.172 kB / 0.5227 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.3388, allocations: 11.12 kB / 0.5227 GB, free: 31.63 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.3388, allocations: 0 / 0.5227 GB, free: 31.63 MB / 378.7 MB Notification: Performance of Templates: time 0.002605/0.3414, allocations: 1.083 MB / 0.5238 GB, free: 31.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches