Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, 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.28/1.28, allocations: 226.8 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009831/0.000983, allocations: 109.8 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3394/0.3394, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3323, allocations: 62.01 MB / 0.5151 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002567/0.335, allocations: 1.736 MB / 0.5168 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.3357, allocations: 0.5475 MB / 0.5174 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.3358, allocations: 0 / 0.5174 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.336, allocations: 44.25 kB / 0.5174 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.3362, allocations: 75.23 kB / 0.5175 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.3365, allocations: 123.7 kB / 0.5176 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.3366, allocations: 75.67 kB / 0.5177 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.044e-05/0.3367, allocations: 20.22 kB / 0.5177 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.524e-05/0.3368, allocations: 33.42 kB / 0.5177 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.3368, allocations: 36.89 kB / 0.5178 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.3369, allocations: 6.969 kB / 0.5178 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-05/0.3369, allocations: 52.83 kB / 0.5178 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.337, allocations: 23.7 kB / 0.5178 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.337, allocations: 28.17 kB / 0.5179 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.3372, allocations: 101 kB / 0.518 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3372, allocations: 0 / 0.518 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.3372, allocations: 0 / 0.518 GB, free: 36.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.3372, allocations: 0 / 0.518 GB, free: 36.08 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003848/0.3376, allocations: 413.8 kB / 0.5184 GB, free: 35.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.3376, allocations: 12.88 kB / 0.5184 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3377, allocations: 10.84 kB / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.3378, allocations: 201.8 kB / 0.5186 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.3378, allocations: 384 / 0.5186 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.3379, allocations: 10.88 kB / 0.5186 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.338, allocations: 58.08 kB / 0.5186 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.338, allocations: 3.219 kB / 0.5187 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.338, allocations: 3.984 kB / 0.5187 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.338, allocations: 4 kB / 0.5187 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.3382, allocations: 48.83 kB / 0.5187 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.3384, allocations: 303.9 kB / 0.519 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.3387, allocations: 54.75 kB / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.376e-05/0.3387, allocations: 31.83 kB / 0.5191 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.3388, allocations: 0 / 0.5191 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.085e-05/0.3388, allocations: 30.56 kB / 0.5191 GB, free: 34.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.3388, allocations: 3.938 kB / 0.5191 GB, free: 34.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001206/0.34, allocations: 386.7 kB / 0.5195 GB, free: 34.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.34, allocations: 54.28 kB / 0.5195 GB, free: 34.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3401, allocations: 178.7 kB / 0.5197 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.3402, allocations: 25.7 kB / 0.5197 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.3402, allocations: 100.5 kB / 0.5198 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.3402, allocations: 33.61 kB / 0.5199 GB, free: 34.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.3403, allocations: 26.72 kB / 0.5199 GB, free: 34.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.249e-05/0.3403, allocations: 321.1 kB / 0.5202 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.3404, allocations: 44.34 kB / 0.5202 GB, free: 34.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3405, allocations: 43.19 kB / 0.5203 GB, free: 34.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.3407, allocations: 104.2 kB / 0.5204 GB, free: 34.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3408, allocations: 0 / 0.5204 GB, free: 34.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002509/0.341, allocations: 147.7 kB / 0.5205 GB, free: 34.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.341, allocations: 3.969 kB / 0.5205 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.341, allocations: 3.938 kB / 0.5205 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3411, allocations: 3.375 kB / 0.5205 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.753e-05/0.3412, allocations: 25.7 kB / 0.5205 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3412, allocations: 7.922 kB / 0.5206 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.3412, allocations: 9.469 kB / 0.5206 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3412, allocations: 10.69 kB / 0.5206 GB, free: 34.04 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 (11): * Single equations (assignments): 11 * 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 6.007e-05/0.3413, allocations: 121.6 kB / 0.5207 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.3413, allocations: 9.344 kB / 0.5207 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.3417, allocations: 166.3 kB / 0.5209 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3417, allocations: 3.422 kB / 0.5209 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3417, allocations: 4 kB / 0.5209 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3417, allocations: 2.531 kB / 0.5209 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.3422, allocations: 467.8 kB / 0.5213 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3422, allocations: 0 / 0.5213 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.904e-05/0.3423, allocations: 34.17 kB / 0.5213 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3423, allocations: 6.875 kB / 0.5214 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.3423, allocations: 6.781 kB / 0.5214 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3423, allocations: 0 / 0.5214 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3423, allocations: 0 / 0.5214 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.3428, allocations: 0.8569 MB / 0.5222 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.3428, allocations: 83.95 kB / 0.5223 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.3429, allocations: 6.812 kB / 0.5223 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-05/0.3429, allocations: 9.234 kB / 0.5223 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.343, allocations: 14.66 kB / 0.5223 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.343, allocations: 5.812 kB / 0.5223 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.982e-05/0.3431, allocations: 135.8 kB / 0.5224 GB, free: 32.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3431, allocations: 3.938 kB / 0.5224 GB, free: 32.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003282/0.3434, allocations: 21.31 kB / 0.5225 GB, free: 32.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008401/0.3443, allocations: 458.7 kB / 0.5229 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.3445, allocations: 109.1 kB / 0.523 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3445, allocations: 2.875 kB / 0.523 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.3447, allocations: 60.84 kB / 0.5231 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.345, allocations: 18.14 kB / 0.5231 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.3454, allocations: 431.6 kB / 0.5235 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3456, allocations: 0.7076 MB / 0.5242 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.874e-05/0.3456, allocations: 20.3 kB / 0.5242 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.3457, allocations: 14.91 kB / 0.5242 GB, free: 31.1 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3457, allocations: 0 / 0.5242 GB, free: 31.1 MB / 378.7 MB Notification: Performance of Templates: time 0.003294/0.349, allocations: 1.487 MB / 0.5257 GB, free: 30.93 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches