Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, 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.304/1.304, allocations: 226.7 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.001061/0.001061, allocations: 113.3 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3702/0.3702, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3576, allocations: 62.02 MB / 0.5152 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002717/0.3604, allocations: 1.644 MB / 0.5168 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.3612, allocations: 0.5356 MB / 0.5173 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.3613, allocations: 2.938 kB / 0.5173 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.3615, allocations: 23.95 kB / 0.5173 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.3617, allocations: 62.25 kB / 0.5174 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.362, allocations: 101.3 kB / 0.5175 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.3621, allocations: 59.75 kB / 0.5175 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.3622, allocations: 18.03 kB / 0.5175 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.3622, allocations: 20.89 kB / 0.5176 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.3623, allocations: 31.48 kB / 0.5176 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3623, allocations: 0 / 0.5176 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.352e-05/0.3624, allocations: 31.23 kB / 0.5176 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.3624, allocations: 13.44 kB / 0.5176 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.3625, allocations: 21.84 kB / 0.5177 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.3626, allocations: 83.91 kB / 0.5177 GB, free: 36.13 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3626, allocations: 0 / 0.5177 GB, free: 36.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3626, allocations: 2.844 kB / 0.5177 GB, free: 36.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.3627, allocations: 0 / 0.5177 GB, free: 36.13 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.0004121/0.3631, allocations: 383.1 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3631, allocations: 11.5 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.3632, allocations: 7.719 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.3633, allocations: 198.5 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3633, allocations: 7.156 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3634, allocations: 384 / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.3635, allocations: 49.06 kB / 0.5184 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3635, allocations: 0 / 0.5184 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3635, allocations: 6.875 kB / 0.5184 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3635, allocations: 0 / 0.5184 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.3636, allocations: 25.27 kB / 0.5184 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.3639, allocations: 283.7 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.3641, allocations: 45.12 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.3642, allocations: 26.08 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3642, allocations: 0 / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.3642, allocations: 33.78 kB / 0.5188 GB, free: 35.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.3642, allocations: 3.938 kB / 0.5188 GB, free: 35.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004864/0.3647, allocations: 150.2 kB / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.3647, allocations: 58.31 kB / 0.519 GB, free: 34.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3649, allocations: 165.9 kB / 0.5191 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.3649, allocations: 25.7 kB / 0.5191 GB, free: 34.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.3649, allocations: 105.6 kB / 0.5192 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.3649, allocations: 11.81 kB / 0.5193 GB, free: 34.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.365, allocations: 24 kB / 0.5193 GB, free: 34.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.365, allocations: 318.1 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.676e-05/0.3651, allocations: 29.86 kB / 0.5196 GB, free: 34.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/0.3652, allocations: 18.75 kB / 0.5196 GB, free: 34.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.3653, allocations: 54.38 kB / 0.5197 GB, free: 34.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3653, allocations: 0 / 0.5197 GB, free: 34.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001787/0.3655, allocations: 84.22 kB / 0.5198 GB, free: 34.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3655, allocations: 5.375 kB / 0.5198 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3655, allocations: 0 / 0.5198 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3655, allocations: 4 kB / 0.5198 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.3656, allocations: 14.94 kB / 0.5198 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3656, allocations: 3.938 kB / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.675e-05/0.3656, allocations: 10.53 kB / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.3657, allocations: 6.719 kB / 0.5198 GB, free: 34.26 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.854e-05/0.3657, allocations: 119.4 kB / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.3658, allocations: 7.875 kB / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.366, allocations: 100.8 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.366, allocations: 2.562 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.366, allocations: 0 / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.366, allocations: 3.938 kB / 0.52 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.3663, allocations: 354.5 kB / 0.5204 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3663, allocations: 0 / 0.5204 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.3664, allocations: 15.03 kB / 0.5204 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.3664, allocations: 4 kB / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.3664, allocations: 3.938 kB / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3664, allocations: 0 / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3664, allocations: 0 / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.3668, allocations: 0.767 MB / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.3668, allocations: 84.95 kB / 0.5212 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3668, allocations: 3.188 kB / 0.5212 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.34e-05/0.3669, allocations: 14.16 kB / 0.5212 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3669, allocations: 6.312 kB / 0.5212 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3669, allocations: 0 / 0.5212 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.61e-05/0.367, allocations: 125.4 kB / 0.5214 GB, free: 32.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.367, allocations: 0 / 0.5214 GB, free: 32.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003232/0.3674, allocations: 23.84 kB / 0.5214 GB, free: 32.8 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.0007953/0.3682, allocations: 398.7 kB / 0.5218 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.3684, allocations: 50.31 kB / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3684, allocations: 0 / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.942e-05/0.3684, allocations: 31.89 kB / 0.5218 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.3688, allocations: 13.2 kB / 0.5219 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.3692, allocations: 329 kB / 0.5222 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.3693, allocations: 0.6995 MB / 0.5229 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.994e-05/0.3694, allocations: 20.19 kB / 0.5229 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.3694, allocations: 17.16 kB / 0.5229 GB, free: 31.57 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3694, allocations: 0 / 0.5229 GB, free: 31.57 MB / 378.7 MB Notification: Performance of Templates: time 0.002857/0.3723, allocations: 1.093 MB / 0.524 GB, free: 31.43 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches