Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001421/0.001421, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2017/0.2017, allocations: 44.2 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.91 kB / 470.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4357, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003584/0.4393, allocations: 1.566 MB / 0.5205 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.4409, allocations: 1.034 MB / 0.5215 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.441, allocations: 5.469 kB / 0.5215 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.4413, allocations: 23.33 kB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.4415, allocations: 41.58 kB / 0.5215 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.4418, allocations: 112.2 kB / 0.5216 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.442, allocations: 63.16 kB / 0.5217 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.4421, allocations: 10.38 kB / 0.5217 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.185e-05/0.4422, allocations: 19.81 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.4423, allocations: 29.31 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.4423, allocations: 3.719 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.4425, allocations: 49.27 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.4425, allocations: 9.234 kB / 0.5218 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.4426, allocations: 25.89 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.4428, allocations: 90.48 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4428, allocations: 1.375 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4428, allocations: 4 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.4428, allocations: 0 / 0.5219 GB, free: 1.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004816/0.4433, allocations: 378.9 kB / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4434, allocations: 9.594 kB / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.4434, allocations: 8.047 kB / 0.5223 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.4436, allocations: 190 kB / 0.5225 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.4436, allocations: 2.188 kB / 0.5225 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.4436, allocations: 2.594 kB / 0.5225 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.4438, allocations: 73.33 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4438, allocations: 9.016 kB / 0.5226 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.4438, allocations: 0 / 0.5226 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4438, allocations: 1.906 kB / 0.5226 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.4439, allocations: 22.52 kB / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.4443, allocations: 276.1 kB / 0.5229 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.4445, allocations: 48.75 kB / 0.5229 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.4446, allocations: 19.06 kB / 0.5229 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.4446, allocations: 0 / 0.5229 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.4446, allocations: 32.64 kB / 0.523 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.4446, allocations: 0 / 0.523 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006053/0.4452, allocations: 147.7 kB / 0.5231 GB, free: 484 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.4452, allocations: 77.11 kB / 0.5232 GB, free: 388 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.4454, allocations: 135.9 kB / 0.5233 GB, free: 272 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.4454, allocations: 26.73 kB / 0.5233 GB, free: 240 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.4454, allocations: 92.45 kB / 0.5234 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.4454, allocations: 15.42 kB / 0.5234 GB, free: 136 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.4455, allocations: 19.23 kB / 0.5234 GB, free: 116 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4456, allocations: 327.2 kB / 0.5238 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.4457, allocations: 21.33 kB / 0.5238 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.904e-05/0.4458, allocations: 37.02 kB / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.4459, allocations: 55.8 kB / 0.5239 GB, free: 15.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4459, allocations: 0 / 0.5239 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002201/0.4462, allocations: 88.95 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4462, allocations: 6.266 kB / 0.524 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4462, allocations: 0 / 0.524 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4462, allocations: 5.062 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.4463, allocations: 11.48 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4463, allocations: 1.766 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.983e-05/0.4463, allocations: 4.656 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.4463, allocations: 1.094 kB / 0.524 GB, free: 15.68 MB / 398.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 (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 0.000104/0.4464, allocations: 127.8 kB / 0.5241 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.4465, allocations: 7.781 kB / 0.5241 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.4467, allocations: 93.53 kB / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4467, allocations: 288 / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4467, allocations: 2.125 kB / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4467, allocations: 0 / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.4472, allocations: 361.5 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4472, allocations: 5.344 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.4473, allocations: 15.28 kB / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4473, allocations: 1.125 kB / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4473, allocations: 1.828 kB / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4473, allocations: 3.938 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4473, allocations: 3.938 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.4476, allocations: 186.6 kB / 0.5248 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.4476, allocations: 82.77 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.4476, allocations: 5.156 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.4477, allocations: 9.609 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.4478, allocations: 3.75 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.4478, allocations: 1.188 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.4479, allocations: 108.6 kB / 0.525 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4479, allocations: 0 / 0.525 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.4482, allocations: 20.02 kB / 0.525 GB, free: 14.79 MB / 398.1 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.001175/0.4493, allocations: 445.5 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.4496, allocations: 49.17 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4496, allocations: 4 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/0.4497, allocations: 28.42 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.4501, allocations: 18.56 kB / 0.5255 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.4506, allocations: 163.8 kB / 0.5256 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.4508, allocations: 0.6923 MB / 0.5263 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.712e-05/0.4509, allocations: 17.27 kB / 0.5263 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.451, allocations: 18.03 kB / 0.5264 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.451, allocations: 1.188 kB / 0.5264 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Templates: time 0.00482/0.4558, allocations: 1.381 MB / 0.5277 GB, free: 13.37 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches