Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, 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.327/1.327, allocations: 226.8 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.0009746/0.0009746, allocations: 106.2 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.3737/0.3737, allocations: 44.83 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3275, allocations: 62.01 MB / 0.5152 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002803/0.3303, allocations: 1.649 MB / 0.5168 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008284/0.3312, allocations: 0.5201 MB / 0.5173 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.3312, allocations: 0 / 0.5173 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.3314, allocations: 27.78 kB / 0.5173 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.3317, allocations: 66.89 kB / 0.5174 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.3319, allocations: 73.84 kB / 0.5174 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.332, allocations: 68.5 kB / 0.5175 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.3321, allocations: 12.16 kB / 0.5175 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.907e-05/0.3322, allocations: 23.28 kB / 0.5175 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.3322, allocations: 21 kB / 0.5176 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.3323, allocations: 2.781 kB / 0.5176 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.771e-05/0.3323, allocations: 33.23 kB / 0.5176 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.3324, allocations: 5.969 kB / 0.5176 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.3324, allocations: 29.48 kB / 0.5176 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.3326, allocations: 74.3 kB / 0.5177 GB, free: 36.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3326, allocations: 0 / 0.5177 GB, free: 36.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.3326, allocations: 0 / 0.5177 GB, free: 36.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.3326, allocations: 0 / 0.5177 GB, free: 36.03 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.000409/0.333, allocations: 388.5 kB / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.333, allocations: 6.875 kB / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.3331, allocations: 10.66 kB / 0.5181 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3333, allocations: 191.8 kB / 0.5183 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3333, allocations: 4.375 kB / 0.5183 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.3333, allocations: 3.219 kB / 0.5183 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.3334, allocations: 49.81 kB / 0.5183 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3335, allocations: 2.719 kB / 0.5183 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.3335, allocations: 0 / 0.5183 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3335, allocations: 0 / 0.5183 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.255e-05/0.3336, allocations: 25.06 kB / 0.5183 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.3339, allocations: 278.9 kB / 0.5186 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.3341, allocations: 46.83 kB / 0.5187 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.3341, allocations: 13.97 kB / 0.5187 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3341, allocations: 0 / 0.5187 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.3342, allocations: 37.28 kB / 0.5187 GB, free: 35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3342, allocations: 0 / 0.5187 GB, free: 35 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004834/0.3347, allocations: 147.7 kB / 0.5188 GB, free: 34.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.3347, allocations: 51.41 kB / 0.5189 GB, free: 34.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.3348, allocations: 150.3 kB / 0.519 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.3348, allocations: 29.7 kB / 0.5191 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.3349, allocations: 94.38 kB / 0.5192 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.3349, allocations: 18.56 kB / 0.5192 GB, free: 34.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.3349, allocations: 16.72 kB / 0.5192 GB, free: 34.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.335, allocations: 324.9 kB / 0.5195 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.3351, allocations: 17.14 kB / 0.5195 GB, free: 34.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.267e-05/0.3351, allocations: 22.3 kB / 0.5195 GB, free: 34.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.3352, allocations: 42.2 kB / 0.5196 GB, free: 34.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3352, allocations: 4 kB / 0.5196 GB, free: 34.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000148/0.3354, allocations: 80.05 kB / 0.5197 GB, free: 34.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3354, allocations: 5.312 kB / 0.5197 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3354, allocations: 256 / 0.5197 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3354, allocations: 3.938 kB / 0.5197 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.3355, allocations: 18.7 kB / 0.5197 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3355, allocations: 0 / 0.5197 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.637e-05/0.3356, allocations: 10.11 kB / 0.5197 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.3356, allocations: 4 kB / 0.5197 GB, free: 34.18 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.956e-05/0.3356, allocations: 120.6 kB / 0.5198 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.3357, allocations: 6.75 kB / 0.5198 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.3359, allocations: 91.48 kB / 0.5199 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3359, allocations: 0 / 0.5199 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3359, allocations: 0 / 0.5199 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3359, allocations: 0 / 0.5199 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.3362, allocations: 351.3 kB / 0.5202 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3362, allocations: 0 / 0.5202 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.3363, allocations: 15.3 kB / 0.5203 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3363, allocations: 3.781 kB / 0.5203 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.3363, allocations: 0 / 0.5203 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3363, allocations: 3.938 kB / 0.5203 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3363, allocations: 0 / 0.5203 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.3367, allocations: 0.7516 MB / 0.521 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.3367, allocations: 87.3 kB / 0.5211 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.3367, allocations: 0 / 0.5211 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-05/0.3368, allocations: 7.844 kB / 0.5211 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.3368, allocations: 3.375 kB / 0.5211 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3368, allocations: 7.562 kB / 0.5211 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.021e-05/0.3369, allocations: 116.3 kB / 0.5212 GB, free: 32.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3369, allocations: 0 / 0.5212 GB, free: 32.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.3372, allocations: 15.03 kB / 0.5212 GB, free: 32.73 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.0007903/0.338, allocations: 407.9 kB / 0.5216 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.3382, allocations: 49.38 kB / 0.5217 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3382, allocations: 4 kB / 0.5217 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/0.3383, allocations: 21.59 kB / 0.5217 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.3386, allocations: 17.14 kB / 0.5217 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.339, allocations: 305 kB / 0.522 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.3391, allocations: 0.6969 MB / 0.5227 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.03e-05/0.3392, allocations: 9.641 kB / 0.5227 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.3392, allocations: 13.16 kB / 0.5227 GB, free: 31.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.001e-06/0.3392, allocations: 0 / 0.5227 GB, free: 31.5 MB / 378.7 MB Notification: Performance of Templates: time 0.002921/0.3421, allocations: 1.088 MB / 0.5238 GB, free: 31.35 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches