Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 226.5 MB / 243.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007922/0.0007919, allocations: 103.2 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3286/0.3286, allocations: 44.81 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 8 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3336, allocations: 62.96 MB / 0.5159 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.001453/0.3351, allocations: 1.29 MB / 0.5171 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000655/0.3358, allocations: 0.4986 MB / 0.5176 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.3359, allocations: 0 / 0.5176 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.3361, allocations: 22.14 kB / 0.5176 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.3363, allocations: 69.52 kB / 0.5177 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.3365, allocations: 94.52 kB / 0.5178 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.3366, allocations: 60.67 kB / 0.5179 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.3367, allocations: 13.8 kB / 0.5179 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.916e-05/0.3368, allocations: 16.11 kB / 0.5179 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.3368, allocations: 25.16 kB / 0.5179 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.3368, allocations: 6.812 kB / 0.5179 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.926e-05/0.3369, allocations: 28.47 kB / 0.5179 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.337, allocations: 9.719 kB / 0.518 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.337, allocations: 47.53 kB / 0.518 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.631e-05/0.3371, allocations: 57.27 kB / 0.5181 GB, free: 35.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3371, allocations: 2.812 kB / 0.5181 GB, free: 35.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3371, allocations: 0 / 0.5181 GB, free: 35.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.3371, allocations: 0 / 0.5181 GB, free: 35.51 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.0003416/0.3375, allocations: 382 kB / 0.5184 GB, free: 35.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.3375, allocations: 8.969 kB / 0.5184 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.3375, allocations: 7.5 kB / 0.5184 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.3377, allocations: 195.3 kB / 0.5186 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.3377, allocations: 384 / 0.5186 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3377, allocations: 3.375 kB / 0.5186 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.3378, allocations: 59.39 kB / 0.5187 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3379, allocations: 3.938 kB / 0.5187 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.3379, allocations: 2.625 kB / 0.5187 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3379, allocations: 4 kB / 0.5187 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/0.338, allocations: 27.98 kB / 0.5187 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.3383, allocations: 283.6 kB / 0.519 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.3384, allocations: 52.41 kB / 0.519 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.3385, allocations: 18.27 kB / 0.5191 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3385, allocations: 3.328 kB / 0.5191 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.3385, allocations: 30.56 kB / 0.5191 GB, free: 34.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3385, allocations: 0 / 0.5191 GB, free: 34.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004864/0.339, allocations: 169 kB / 0.5193 GB, free: 34.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.3391, allocations: 58.38 kB / 0.5193 GB, free: 34.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.3392, allocations: 165.3 kB / 0.5195 GB, free: 34.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.3392, allocations: 29.7 kB / 0.5195 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.3393, allocations: 109.4 kB / 0.5196 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.3393, allocations: 7.812 kB / 0.5196 GB, free: 34.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.3393, allocations: 0 / 0.5196 GB, free: 34.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.3393, allocations: 321.1 kB / 0.5199 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.3394, allocations: 26.75 kB / 0.5199 GB, free: 33.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.823e-05/0.3395, allocations: 28.81 kB / 0.52 GB, free: 33.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.3396, allocations: 64.33 kB / 0.52 GB, free: 33.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3396, allocations: 0 / 0.52 GB, free: 33.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001612/0.3398, allocations: 95.88 kB / 0.5201 GB, free: 33.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.3398, allocations: 2.969 kB / 0.5201 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3398, allocations: 0 / 0.5201 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3398, allocations: 3.031 kB / 0.5201 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.3399, allocations: 13.31 kB / 0.5201 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3399, allocations: 0 / 0.5201 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.929e-05/0.34, allocations: 13.2 kB / 0.5201 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.34, allocations: 6.875 kB / 0.5202 GB, free: 33.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.474e-05/0.34, allocations: 116.8 kB / 0.5203 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.3401, allocations: 6.969 kB / 0.5203 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.3403, allocations: 114.3 kB / 0.5204 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3403, allocations: 4 kB / 0.5204 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3403, allocations: 3.328 kB / 0.5204 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3403, allocations: 7.875 kB / 0.5204 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.3406, allocations: 358.8 kB / 0.5207 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3406, allocations: 0 / 0.5207 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.3407, allocations: 18.73 kB / 0.5208 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3407, allocations: 0 / 0.5208 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.3407, allocations: 6.875 kB / 0.5208 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3407, allocations: 3.938 kB / 0.5208 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3407, allocations: 0 / 0.5208 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.3409, allocations: 188.3 kB / 0.5209 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.341, allocations: 91.3 kB / 0.521 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.341, allocations: 3.938 kB / 0.521 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.341, allocations: 9.172 kB / 0.521 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.3411, allocations: 3.938 kB / 0.5211 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.3411, allocations: 2.844 kB / 0.5211 GB, free: 32.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.445e-05/0.3412, allocations: 126.3 kB / 0.5212 GB, free: 32.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3412, allocations: 3.062 kB / 0.5212 GB, free: 32.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002297/0.3414, allocations: 21.97 kB / 0.5212 GB, free: 32.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008097/0.3422, allocations: 391.7 kB / 0.5216 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.3424, allocations: 61.44 kB / 0.5216 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3424, allocations: 7 kB / 0.5216 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.021e-05/0.3425, allocations: 32.47 kB / 0.5217 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3428, allocations: 17.73 kB / 0.5217 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.3431, allocations: 229.4 kB / 0.5219 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.3433, allocations: 0.6933 MB / 0.5226 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.3433, allocations: 13.28 kB / 0.5226 GB, free: 31.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3433, allocations: 0 / 0.5226 GB, free: 31.65 MB / 378.7 MB Notification: Performance of Templates: time 0.002401/0.3457, allocations: 1.469 MB / 0.524 GB, free: 31.49 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches