Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 108.3 kB / 18.4 MB, free: 4.59 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.001341/0.001341, allocations: 191 kB / 19.34 MB, free: 3.66 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.305/1.305, allocations: 222.9 MB / 243 MB, free: 15.16 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.1803/0.1803, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 61.25 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08909/0.09028, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002824/0.09314, allocations: 1.573 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007289/0.09389, allocations: 407.2 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.09396, allocations: 0 / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.09416, allocations: 31.84 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.09437, allocations: 39.78 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.09471, allocations: 103.7 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.09484, allocations: 51.84 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.09494, allocations: 23.97 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.095, allocations: 23.88 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.13e-05/0.09507, allocations: 15.92 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.09509, allocations: 4 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.495e-05/0.09517, allocations: 31.98 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.09522, allocations: 15.92 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.09527, allocations: 23.8 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.09543, allocations: 75.8 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.09545, allocations: 3.938 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09545, allocations: 0 / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.09546, allocations: 0 / 473.1 MB, free: 11.24 MB / 350.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.0004485/0.09592, allocations: 383.1 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.09595, allocations: 8.031 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.09599, allocations: 8.844 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.09617, allocations: 187.7 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.09619, allocations: 4.375 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.09621, allocations: 384 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.09635, allocations: 57.8 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.09637, allocations: 0 / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.09638, allocations: 0 / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.09639, allocations: 0 / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.09649, allocations: 31.92 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.09685, allocations: 284.7 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.09706, allocations: 46.55 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.09712, allocations: 24.88 kB / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.09715, allocations: 4 kB / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.09717, allocations: 30.56 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.09718, allocations: 0 / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004977/0.09768, allocations: 145.3 kB / 474.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.09772, allocations: 51.41 kB / 474.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.09786, allocations: 161.7 kB / 474.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.09788, allocations: 25.7 kB / 474.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.09793, allocations: 96.12 kB / 474.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.09796, allocations: 11.81 kB / 474.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.098, allocations: 17.72 kB / 474.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.09811, allocations: 326.8 kB / 475 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.32e-05/0.09818, allocations: 23.92 kB / 475 MB, free: 9.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/0.09824, allocations: 19.98 kB / 475 MB, free: 9.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.09836, allocations: 52.83 kB / 475.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.09837, allocations: 192 / 475.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001755/0.09855, allocations: 97.5 kB / 475.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.09857, allocations: 4 kB / 475.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.09858, allocations: 0 / 475.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.0986, allocations: 0 / 475.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.09866, allocations: 15.98 kB / 475.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.09867, allocations: 4 kB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.09871, allocations: 0 / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.09872, allocations: 7.938 kB / 475.2 MB, free: 8.934 MB / 350.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 7.167e-05/0.0988, allocations: 121.8 kB / 475.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.09883, allocations: 7.906 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.09907, allocations: 97.91 kB / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.09908, allocations: 3.984 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.09909, allocations: 4 kB / 475.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.0991, allocations: 0 / 475.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.09948, allocations: 346.5 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.09949, allocations: 0 / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.09955, allocations: 15.98 kB / 475.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.09956, allocations: 7.875 kB / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.09957, allocations: 0 / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.09958, allocations: 3.938 kB / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.09959, allocations: 4 kB / 475.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.09979, allocations: 187.7 kB / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.09984, allocations: 85.02 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.09986, allocations: 4 kB / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.348e-05/0.09993, allocations: 11.92 kB / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.09996, allocations: 0 / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.09998, allocations: 4 kB / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.834e-05/0.1001, allocations: 125.6 kB / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1001, allocations: 0 / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.1003, allocations: 12 kB / 476.2 MB, free: 7.809 MB / 350.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.0008251/0.1011, allocations: 397.1 kB / 476.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.1013, allocations: 55.89 kB / 476.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1013, allocations: 4 kB / 476.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.082e-05/0.1014, allocations: 27.98 kB / 476.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.1017, allocations: 19.92 kB / 476.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.1021, allocations: 189.6 kB / 476.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.1023, allocations: 0.6962 MB / 477.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.205e-05/0.1024, allocations: 23.97 kB / 477.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.1024, allocations: 11.44 kB / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1024, allocations: 0 / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of Templates: time 0.09454/0.197, allocations: 1.109 MB / 478.7 MB, free: 5.395 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches