Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, 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.295/1.295, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 113.9 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3359/0.3359, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3468, allocations: 62.02 MB / 0.5152 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002436/0.3493, allocations: 1.65 MB / 0.5168 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3506, allocations: 1.122 MB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.3506, allocations: 2.719 kB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.3508, allocations: 31.38 kB / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.351, allocations: 62.48 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.3512, allocations: 76.97 kB / 0.518 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3513, allocations: 60.5 kB / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.314e-05/0.3514, allocations: 23.83 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/0.3515, allocations: 23.7 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.3516, allocations: 30.73 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3516, allocations: 2.844 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3518, allocations: 92.28 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.3518, allocations: 14.67 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.3518, allocations: 21.69 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.352, allocations: 126.8 kB / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.352, allocations: 3.938 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.352, allocations: 4 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.352, allocations: 0 / 0.5184 GB, free: 35.54 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.0003772/0.3524, allocations: 402 kB / 0.5188 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.3525, allocations: 10.84 kB / 0.5188 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.3525, allocations: 11.2 kB / 0.5188 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3526, allocations: 192.6 kB / 0.519 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-06/0.3527, allocations: 3.031 kB / 0.519 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.3527, allocations: 384 / 0.519 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.3528, allocations: 75.14 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3528, allocations: 0 / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.3528, allocations: 2.781 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3528, allocations: 0 / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.618e-05/0.3529, allocations: 20.73 kB / 0.5191 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.3532, allocations: 275.2 kB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3534, allocations: 50.44 kB / 0.5194 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.098e-05/0.3534, allocations: 10.33 kB / 0.5194 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.3534, allocations: 2.906 kB / 0.5194 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.3534, allocations: 37.8 kB / 0.5195 GB, free: 34.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3535, allocations: 0 / 0.5195 GB, free: 34.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000435/0.3539, allocations: 143.7 kB / 0.5196 GB, free: 34.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.3539, allocations: 77.11 kB / 0.5197 GB, free: 34.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.877e-05/0.354, allocations: 143.5 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.354, allocations: 28.58 kB / 0.5198 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.3541, allocations: 90.98 kB / 0.5199 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.3541, allocations: 22.33 kB / 0.5199 GB, free: 34.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.3541, allocations: 16.62 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.3542, allocations: 329 kB / 0.5203 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.968e-05/0.3542, allocations: 18.58 kB / 0.5203 GB, free: 33.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.823e-05/0.3543, allocations: 28.69 kB / 0.5203 GB, free: 33.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.3544, allocations: 46.64 kB / 0.5204 GB, free: 33.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.3544, allocations: 0 / 0.5204 GB, free: 33.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001479/0.3546, allocations: 87.92 kB / 0.5204 GB, free: 33.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.3546, allocations: 6.875 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3546, allocations: 6.969 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.3546, allocations: 0 / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.303e-05/0.3547, allocations: 11.88 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3547, allocations: 3.984 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.3547, allocations: 3 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3548, allocations: 6.844 kB / 0.5205 GB, free: 33.61 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.104e-05/0.3548, allocations: 120.6 kB / 0.5206 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.3548, allocations: 9.812 kB / 0.5206 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.355, allocations: 91.11 kB / 0.5207 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.355, allocations: 3.938 kB / 0.5207 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3551, allocations: 0 / 0.5207 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3551, allocations: 0 / 0.5207 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.3554, allocations: 353.7 kB / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3554, allocations: 0 / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.3554, allocations: 18.69 kB / 0.5211 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3554, allocations: 0 / 0.5211 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.3554, allocations: 0 / 0.5211 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3555, allocations: 3.938 kB / 0.5211 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3555, allocations: 2.781 kB / 0.5211 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.3558, allocations: 0.7555 MB / 0.5218 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.3558, allocations: 84.34 kB / 0.5219 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3558, allocations: 2.812 kB / 0.5219 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.3559, allocations: 3.062 kB / 0.5219 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.3559, allocations: 6.469 kB / 0.5219 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.356, allocations: 4 kB / 0.5219 GB, free: 32.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.998e-05/0.356, allocations: 120.8 kB / 0.522 GB, free: 32.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.356, allocations: 0 / 0.522 GB, free: 32.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003617/0.3564, allocations: 43.22 kB / 0.5221 GB, free: 32.14 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.0009136/0.3573, allocations: 478.8 kB / 0.5225 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.3575, allocations: 48.66 kB / 0.5226 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3575, allocations: 0 / 0.5226 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.338e-05/0.3576, allocations: 24.98 kB / 0.5226 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3579, allocations: 26.72 kB / 0.5226 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.3582, allocations: 298.2 kB / 0.5229 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.3584, allocations: 0.6971 MB / 0.5236 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.332e-05/0.3584, allocations: 13.14 kB / 0.5236 GB, free: 30.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.3585, allocations: 13.22 kB / 0.5236 GB, free: 30.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3585, allocations: 3.938 kB / 0.5236 GB, free: 30.89 MB / 378.7 MB Notification: Performance of Templates: time 0.003354/0.3618, allocations: 1.735 MB / 0.5253 GB, free: 30.68 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches