Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, 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.334/1.334, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009243/0.0009243, allocations: 96.81 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.389/0.389, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3229, allocations: 62.02 MB / 0.5152 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002632/0.3256, allocations: 1.652 MB / 0.5168 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008096/0.3265, allocations: 0.5339 MB / 0.5173 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.3265, allocations: 3.969 kB / 0.5173 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.3267, allocations: 19.91 kB / 0.5173 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.3269, allocations: 64.56 kB / 0.5174 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.3272, allocations: 109.3 kB / 0.5175 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.3273, allocations: 56.45 kB / 0.5175 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.3274, allocations: 12.41 kB / 0.5175 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.3275, allocations: 27.89 kB / 0.5176 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.3276, allocations: 24.7 kB / 0.5176 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.3276, allocations: 6.906 kB / 0.5176 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.75e-05/0.3276, allocations: 28.83 kB / 0.5176 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.3277, allocations: 13.05 kB / 0.5176 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.3277, allocations: 25.62 kB / 0.5177 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.3279, allocations: 84.77 kB / 0.5177 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3279, allocations: 0 / 0.5177 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3279, allocations: 0 / 0.5177 GB, free: 36.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.3279, allocations: 0 / 0.5177 GB, free: 36.02 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.0004285/0.3283, allocations: 392.2 kB / 0.5181 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3284, allocations: 13.69 kB / 0.5181 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.3284, allocations: 11.72 kB / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.3286, allocations: 197.4 kB / 0.5183 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-06/0.3286, allocations: 4.312 kB / 0.5183 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.3286, allocations: 6.75 kB / 0.5183 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3288, allocations: 45.17 kB / 0.5184 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3288, allocations: 2.906 kB / 0.5184 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3288, allocations: 4 kB / 0.5184 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3288, allocations: 0 / 0.5184 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.237e-05/0.3289, allocations: 25.03 kB / 0.5184 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.3292, allocations: 294 kB / 0.5187 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.3294, allocations: 43.39 kB / 0.5187 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.3295, allocations: 16.77 kB / 0.5187 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3295, allocations: 3.188 kB / 0.5188 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.3295, allocations: 34.56 kB / 0.5188 GB, free: 34.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3295, allocations: 0 / 0.5188 GB, free: 34.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004962/0.33, allocations: 154.5 kB / 0.5189 GB, free: 34.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.3301, allocations: 51.41 kB / 0.519 GB, free: 34.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3302, allocations: 176 kB / 0.5191 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.3302, allocations: 25.7 kB / 0.5192 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.3303, allocations: 108.9 kB / 0.5193 GB, free: 34.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.3303, allocations: 22.09 kB / 0.5193 GB, free: 34.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.3303, allocations: 12.62 kB / 0.5193 GB, free: 34.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.3304, allocations: 321 kB / 0.5196 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.339e-05/0.3304, allocations: 18.27 kB / 0.5196 GB, free: 34.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.766e-05/0.3305, allocations: 26.88 kB / 0.5197 GB, free: 34.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.3306, allocations: 52.84 kB / 0.5197 GB, free: 34.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3306, allocations: 4 kB / 0.5197 GB, free: 34.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001587/0.3308, allocations: 88.33 kB / 0.5198 GB, free: 34.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3308, allocations: 9.094 kB / 0.5198 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3308, allocations: 0 / 0.5198 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3309, allocations: 0 / 0.5198 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.842e-05/0.3309, allocations: 15.38 kB / 0.5198 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3309, allocations: 0 / 0.5198 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.331, allocations: 17.98 kB / 0.5198 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.331, allocations: 0 / 0.5198 GB, free: 34.13 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 6.201e-05/0.3311, allocations: 126.3 kB / 0.52 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.3311, allocations: 6.531 kB / 0.52 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.3313, allocations: 104.2 kB / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3313, allocations: 0 / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3313, allocations: 0 / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.3314, allocations: 7.938 kB / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.3317, allocations: 356.5 kB / 0.5204 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3317, allocations: 0 / 0.5204 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.3317, allocations: 14.72 kB / 0.5204 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3317, allocations: 3.938 kB / 0.5204 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.3318, allocations: 3.938 kB / 0.5204 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3318, allocations: 0 / 0.5204 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3318, allocations: 0 / 0.5204 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.3321, allocations: 0.7723 MB / 0.5212 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.3322, allocations: 83.92 kB / 0.5213 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3322, allocations: 3.422 kB / 0.5213 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-05/0.3323, allocations: 10.94 kB / 0.5213 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.3323, allocations: 10.23 kB / 0.5213 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3323, allocations: 0 / 0.5213 GB, free: 32.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.334e-05/0.3324, allocations: 138.2 kB / 0.5214 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3324, allocations: 0 / 0.5214 GB, free: 32.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003177/0.3327, allocations: 11.59 kB / 0.5214 GB, free: 32.66 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.000789/0.3335, allocations: 394 kB / 0.5218 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.3337, allocations: 57.75 kB / 0.5219 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3337, allocations: 0 / 0.5219 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.868e-05/0.3338, allocations: 29.61 kB / 0.5219 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.3341, allocations: 16.7 kB / 0.5219 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.3345, allocations: 335.7 kB / 0.5222 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.3346, allocations: 0.6993 MB / 0.5229 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.024e-05/0.3347, allocations: 16.11 kB / 0.5229 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.3347, allocations: 12.81 kB / 0.5229 GB, free: 31.43 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3347, allocations: 0 / 0.5229 GB, free: 31.43 MB / 378.7 MB Notification: Performance of Templates: time 0.002841/0.3376, allocations: 1.112 MB / 0.524 GB, free: 31.28 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches