Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, 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.263/1.263, 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.0009175/0.0009175, allocations: 104.1 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3581/0.3581, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3239, allocations: 62.02 MB / 0.5152 GB, free: 37.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003155/0.3271, allocations: 1.672 MB / 0.5168 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009022/0.328, allocations: 0.5378 MB / 0.5173 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.3281, allocations: 3.938 kB / 0.5173 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.3285, allocations: 105.6 kB / 0.5174 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.3289, allocations: 107 kB / 0.5175 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.3292, allocations: 94.25 kB / 0.5176 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.3294, allocations: 88.8 kB / 0.5177 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3295, allocations: 19.94 kB / 0.5177 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.3296, allocations: 35.84 kB / 0.5177 GB, free: 36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3297, allocations: 66.27 kB / 0.5178 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3297, allocations: 0 / 0.5178 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3298, allocations: 43.89 kB / 0.5178 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.3299, allocations: 28.23 kB / 0.5179 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.3299, allocations: 34.47 kB / 0.5179 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.3301, allocations: 111.2 kB / 0.518 GB, free: 35.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3301, allocations: 4 kB / 0.518 GB, free: 35.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.3301, allocations: 3.938 kB / 0.518 GB, free: 35.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.3302, allocations: 4 kB / 0.518 GB, free: 35.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004315/0.3306, allocations: 418.5 kB / 0.5184 GB, free: 35.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3306, allocations: 14.22 kB / 0.5184 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.3307, allocations: 14.5 kB / 0.5185 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.3308, allocations: 211 kB / 0.5187 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3309, allocations: 4.359 kB / 0.5187 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3309, allocations: 3.062 kB / 0.5187 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.331, allocations: 60.05 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.331, allocations: 4 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3311, allocations: 2.969 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3311, allocations: 0 / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/0.3312, allocations: 25.02 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.3315, allocations: 307.9 kB / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.142e-05/0.3316, allocations: 51.19 kB / 0.5191 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.3317, allocations: 20.7 kB / 0.5191 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.3317, allocations: 3.938 kB / 0.5191 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.3317, allocations: 33.84 kB / 0.5191 GB, free: 34.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3317, allocations: 0 / 0.5191 GB, free: 34.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008287/0.3326, allocations: 239.6 kB / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.3326, allocations: 51.41 kB / 0.5194 GB, free: 34.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.3328, allocations: 256 kB / 0.5197 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.3328, allocations: 25.7 kB / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.3328, allocations: 113 kB / 0.5198 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.3329, allocations: 29.88 kB / 0.5198 GB, free: 34.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.3329, allocations: 25.75 kB / 0.5199 GB, free: 34.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.563e-05/0.333, allocations: 328.2 kB / 0.5202 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.3331, allocations: 28.14 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.3331, allocations: 32.89 kB / 0.5202 GB, free: 33.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3333, allocations: 74.95 kB / 0.5203 GB, free: 33.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3333, allocations: 2.844 kB / 0.5203 GB, free: 33.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001903/0.3335, allocations: 112.2 kB / 0.5204 GB, free: 33.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3335, allocations: 5.781 kB / 0.5204 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3335, allocations: 0 / 0.5204 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3335, allocations: 2.906 kB / 0.5204 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.3336, allocations: 26.77 kB / 0.5204 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3336, allocations: 2.875 kB / 0.5204 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.034e-05/0.3337, allocations: 10.75 kB / 0.5205 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3337, allocations: 3.281 kB / 0.5205 GB, free: 33.86 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 (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 7.071e-05/0.3338, allocations: 136.3 kB / 0.5206 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.3338, allocations: 12.5 kB / 0.5206 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.3341, allocations: 123.5 kB / 0.5207 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3341, allocations: 3.938 kB / 0.5207 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3341, allocations: 0 / 0.5207 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3341, allocations: 7.688 kB / 0.5207 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.3345, allocations: 436 kB / 0.5211 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3345, allocations: 0 / 0.5211 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.3346, allocations: 19.56 kB / 0.5212 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3346, allocations: 7.875 kB / 0.5212 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.3346, allocations: 4 kB / 0.5212 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3346, allocations: 0 / 0.5212 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3346, allocations: 3.906 kB / 0.5212 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.335, allocations: 0.8161 MB / 0.522 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.3351, allocations: 91.77 kB / 0.5221 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.3351, allocations: 0 / 0.5221 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.3352, allocations: 2.875 kB / 0.5221 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3352, allocations: 12.95 kB / 0.5221 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.3352, allocations: 0 / 0.5221 GB, free: 32.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3353, allocations: 198.2 kB / 0.5223 GB, free: 32.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3354, allocations: 0 / 0.5223 GB, free: 32.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003352/0.3357, allocations: 29.52 kB / 0.5223 GB, free: 32.3 MB / 378.7 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.0008948/0.3366, allocations: 456.3 kB / 0.5227 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.3368, allocations: 75.61 kB / 0.5228 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3368, allocations: 0 / 0.5228 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.349e-05/0.3369, allocations: 45.23 kB / 0.5228 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3372, allocations: 21.2 kB / 0.5229 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.3377, allocations: 446.8 kB / 0.5233 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.3379, allocations: 0.7188 MB / 0.524 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.768e-05/0.3379, allocations: 21.77 kB / 0.524 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.338, allocations: 15.59 kB / 0.524 GB, free: 30.96 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.338, allocations: 0 / 0.524 GB, free: 30.96 MB / 378.7 MB Notification: Performance of Templates: time 0.003343/0.3413, allocations: 1.374 MB / 0.5254 GB, free: 30.79 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches