Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001002/0.001002, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.285/1.285, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.211/0.211, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.36, allocations: 60.81 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002662/0.3626, allocations: 1.567 MB / 0.5211 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.364, allocations: 1.027 MB / 0.5221 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/0.3641, allocations: 5.094 kB / 0.5221 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.3643, allocations: 19.56 kB / 0.5221 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.3645, allocations: 45.97 kB / 0.5222 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.3648, allocations: 110.9 kB / 0.5223 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.365, allocations: 56.55 kB / 0.5223 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.3651, allocations: 16.92 kB / 0.5224 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.78e-05/0.3651, allocations: 18.42 kB / 0.5224 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.3653, allocations: 26.75 kB / 0.5224 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3653, allocations: 2.156 kB / 0.5224 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.3654, allocations: 58.44 kB / 0.5225 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.3655, allocations: 8.469 kB / 0.5225 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.3655, allocations: 25.36 kB / 0.5225 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.3657, allocations: 90.67 kB / 0.5226 GB, free: 1.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3657, allocations: 2.172 kB / 0.5226 GB, free: 1.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3657, allocations: 0 / 0.5226 GB, free: 1.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3658, allocations: 0 / 0.5226 GB, free: 1.578 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.0003957/0.3662, allocations: 369.5 kB / 0.5229 GB, free: 1.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3662, allocations: 10.77 kB / 0.5229 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.3662, allocations: 16.03 kB / 0.523 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.3664, allocations: 187 kB / 0.5231 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.3664, allocations: 1.625 kB / 0.5231 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.3664, allocations: 2.656 kB / 0.5231 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3666, allocations: 70.02 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3666, allocations: 1.156 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3666, allocations: 0 / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3666, allocations: 1.188 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.3667, allocations: 27.83 kB / 0.5232 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.3671, allocations: 278.9 kB / 0.5235 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3673, allocations: 46.8 kB / 0.5235 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.3673, allocations: 18.19 kB / 0.5236 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.3673, allocations: 4.969 kB / 0.5236 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.3674, allocations: 36.23 kB / 0.5236 GB, free: 0.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3674, allocations: 0 / 0.5236 GB, free: 0.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005399/0.3679, allocations: 150.8 kB / 0.5237 GB, free: 484 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.368, allocations: 79.12 kB / 0.5238 GB, free: 388 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3681, allocations: 130.8 kB / 0.5239 GB, free: 276 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.3681, allocations: 30.8 kB / 0.524 GB, free: 240 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.3681, allocations: 93 kB / 0.5241 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.3682, allocations: 14.52 kB / 0.5241 GB, free: 136 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.3682, allocations: 19.84 kB / 0.5241 GB, free: 116 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3683, allocations: 323.1 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.3684, allocations: 20.16 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.851e-05/0.3685, allocations: 37.19 kB / 0.5245 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3686, allocations: 60.84 kB / 0.5245 GB, free: 15.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3686, allocations: 0 / 0.5245 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001938/0.3688, allocations: 85.16 kB / 0.5246 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3689, allocations: 4.5 kB / 0.5246 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3689, allocations: 1.797 kB / 0.5246 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3689, allocations: 0 / 0.5246 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.3689, allocations: 16.34 kB / 0.5246 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.369, allocations: 1 kB / 0.5246 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.369, allocations: 4.578 kB / 0.5246 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.369, allocations: 5.766 kB / 0.5246 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 9.106e-05/0.3691, allocations: 123.7 kB / 0.5247 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.3692, allocations: 7.844 kB / 0.5248 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.3694, allocations: 93.19 kB / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3694, allocations: 8.688 kB / 0.5249 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3694, allocations: 1.188 kB / 0.5249 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3694, allocations: 0.6094 kB / 0.5249 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.3699, allocations: 352.5 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3699, allocations: 2.188 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.37, allocations: 10.83 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.37, allocations: 2.094 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.37, allocations: 0 / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.37, allocations: 9.344 kB / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.37, allocations: 4.641 kB / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3702, allocations: 189.1 kB / 0.5254 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.3703, allocations: 78.84 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.3703, allocations: 1.125 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.3704, allocations: 9.5 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.3704, allocations: 7.625 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3704, allocations: 6.188 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.438e-05/0.3705, allocations: 106.7 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3705, allocations: 5.062 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.3708, allocations: 15.86 kB / 0.5256 GB, free: 14.8 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.0009755/0.3718, allocations: 446.7 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.372, allocations: 48.7 kB / 0.5261 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.372, allocations: 0 / 0.5261 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.3721, allocations: 29.83 kB / 0.5261 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.0003341/0.3724, allocations: 14.92 kB / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.3728, allocations: 197.5 kB / 0.5263 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.3731, allocations: 0.6923 MB / 0.527 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.3732, allocations: 15.03 kB / 0.527 GB, free: 13.69 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3732, allocations: 0 / 0.527 GB, free: 13.69 MB / 398.1 MB Notification: Performance of Templates: time 0.003577/0.3768, allocations: 1.603 MB / 0.5286 GB, free: 13.25 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches