Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2092/0.2092, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4152, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002856/0.418, allocations: 1.589 MB / 0.5205 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007907/0.4188, allocations: 416.2 kB / 0.5209 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.4189, allocations: 1.062 kB / 0.5209 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.4192, allocations: 72.84 kB / 0.521 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.4194, allocations: 67.3 kB / 0.521 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.4197, allocations: 108.9 kB / 0.5211 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.4198, allocations: 74.28 kB / 0.5212 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.42, allocations: 17.11 kB / 0.5212 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.615e-05/0.4201, allocations: 37.39 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.4202, allocations: 54.05 kB / 0.5213 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.4203, allocations: 3.469 kB / 0.5213 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.4204, allocations: 42.73 kB / 0.5213 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-05/0.4204, allocations: 19.38 kB / 0.5214 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.163e-05/0.4205, allocations: 30.44 kB / 0.5214 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.4208, allocations: 104 kB / 0.5215 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.4208, allocations: 1.859 kB / 0.5215 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.4208, allocations: 4 kB / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4208, allocations: 0 / 0.5215 GB, free: 2.004 MB / 382.1 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.0005681/0.4213, allocations: 411.6 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.4214, allocations: 9.062 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.4214, allocations: 13.36 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.4216, allocations: 194.8 kB / 0.5221 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4216, allocations: 5.5 kB / 0.5221 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.4217, allocations: 3.781 kB / 0.5221 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.4218, allocations: 64.09 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.4219, allocations: 1.031 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4219, allocations: 0.5625 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.4219, allocations: 1.312 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.422, allocations: 25.62 kB / 0.5222 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.4225, allocations: 301 kB / 0.5225 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.4226, allocations: 56.47 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.4227, allocations: 18.31 kB / 0.5225 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.4227, allocations: 1.797 kB / 0.5226 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.4227, allocations: 31.69 kB / 0.5226 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.4227, allocations: 0 / 0.5226 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009736/0.4237, allocations: 246.6 kB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.4237, allocations: 53.3 kB / 0.5229 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.4239, allocations: 206.9 kB / 0.5231 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.424, allocations: 25.7 kB / 0.5231 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.424, allocations: 109.4 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.424, allocations: 29.2 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.4241, allocations: 24.86 kB / 0.5232 GB, free: 464 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.307e-05/0.4241, allocations: 322 kB / 0.5236 GB, free: 140 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.4242, allocations: 30.27 kB / 0.5236 GB, free: 132 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.816e-05/0.4243, allocations: 31.31 kB / 0.5236 GB, free: 124 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.4245, allocations: 71.25 kB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4245, allocations: 0 / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002153/0.4247, allocations: 116.6 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4247, allocations: 6.609 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4247, allocations: 0 / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4247, allocations: 0.6562 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.4248, allocations: 17.33 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4248, allocations: 12.81 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.4249, allocations: 5.297 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4249, allocations: 2.25 kB / 0.5238 GB, free: 20 kB / 382.1 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 0.0001352/0.425, allocations: 131.7 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.4251, allocations: 13.14 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.4254, allocations: 123 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4254, allocations: 1 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4254, allocations: 4.5 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4254, allocations: 5.594 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005564/0.4259, allocations: 424 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4259, allocations: 0 / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.006e-05/0.426, allocations: 25.44 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.426, allocations: 1.469 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.426, allocations: 1.562 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.426, allocations: 1.875 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.426, allocations: 0.5625 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.4263, allocations: 213.6 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.4263, allocations: 93.11 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.4264, allocations: 5.906 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.4264, allocations: 9.219 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.4265, allocations: 6.016 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.4265, allocations: 2.938 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.4266, allocations: 159.7 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4266, allocations: 0 / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.4269, allocations: 23.59 kB / 0.525 GB, free: 15.06 MB / 398.1 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.001079/0.428, allocations: 456.5 kB / 0.5255 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.4282, allocations: 73.41 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4282, allocations: 0 / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.4283, allocations: 32.23 kB / 0.5256 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.4287, allocations: 21.86 kB / 0.5256 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.4292, allocations: 263.9 kB / 0.5258 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.4295, allocations: 0.7178 MB / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.85e-05/0.4296, allocations: 23.38 kB / 0.5266 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.4296, allocations: 13.88 kB / 0.5266 GB, free: 13.9 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4296, allocations: 3.938 kB / 0.5266 GB, free: 13.9 MB / 398.1 MB Notification: Performance of Templates: time 0.004164/0.4338, allocations: 1.369 MB / 0.5279 GB, free: 13.48 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches