Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 111.4 kB / 18.45 MB, free: 4.602 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.0009956/0.0009957, allocations: 183 kB / 19.38 MB, free: 3.684 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.345/1.345, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2155/0.2155, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 59.91 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4098, allocations: 60.83 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003112/0.413, allocations: 1.643 MB / 0.5212 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007806/0.4138, allocations: 450.8 kB / 0.5216 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.4138, allocations: 5.719 kB / 0.5216 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.4141, allocations: 48.12 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.4144, allocations: 52.5 kB / 0.5217 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.4148, allocations: 172.4 kB / 0.5219 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.415, allocations: 77.86 kB / 0.522 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.4151, allocations: 25.59 kB / 0.522 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.136e-05/0.4152, allocations: 34.52 kB / 0.522 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.4153, allocations: 42.66 kB / 0.5221 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.4153, allocations: 4.25 kB / 0.5221 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.4155, allocations: 51.66 kB / 0.5221 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.4155, allocations: 24.58 kB / 0.5221 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.4156, allocations: 32.03 kB / 0.5222 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.4158, allocations: 97.73 kB / 0.5223 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4158, allocations: 0 / 0.5223 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4158, allocations: 0 / 0.5223 GB, free: 1.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.4158, allocations: 5.188 kB / 0.5223 GB, free: 1.867 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004707/0.4163, allocations: 404.8 kB / 0.5227 GB, free: 1.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4164, allocations: 9.5 kB / 0.5227 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.4164, allocations: 8.688 kB / 0.5227 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.4166, allocations: 199.6 kB / 0.5229 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.4166, allocations: 2.531 kB / 0.5229 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.4166, allocations: 2.625 kB / 0.5229 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.4168, allocations: 74.73 kB / 0.5229 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4168, allocations: 5.781 kB / 0.5229 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4169, allocations: 3.938 kB / 0.5229 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4169, allocations: 0.875 kB / 0.523 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.417, allocations: 46.88 kB / 0.523 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.4174, allocations: 317.1 kB / 0.5233 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.4177, allocations: 64.28 kB / 0.5234 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.4178, allocations: 26.27 kB / 0.5234 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.4178, allocations: 1.891 kB / 0.5234 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.4178, allocations: 35.81 kB / 0.5234 GB, free: 0.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.4178, allocations: 0 / 0.5234 GB, free: 0.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001523/0.4194, allocations: 421.5 kB / 0.5238 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.4194, allocations: 56.72 kB / 0.5239 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.4196, allocations: 168.5 kB / 0.524 GB, free: 492 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.4196, allocations: 26.83 kB / 0.5241 GB, free: 460 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.4196, allocations: 107.4 kB / 0.5242 GB, free: 356 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.4197, allocations: 34.97 kB / 0.5242 GB, free: 328 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.4197, allocations: 31.03 kB / 0.5242 GB, free: 300 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4198, allocations: 322 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.42, allocations: 51.5 kB / 0.5246 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.4201, allocations: 55.59 kB / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.4204, allocations: 126.9 kB / 0.5248 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4204, allocations: 1.812 kB / 0.5248 GB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003419/0.4208, allocations: 160.4 kB / 0.5249 GB, free: 15.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4208, allocations: 8.016 kB / 0.5249 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4208, allocations: 9.344 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4208, allocations: 0 / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.421, allocations: 29.84 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.421, allocations: 5.094 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.421, allocations: 13.34 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.4211, allocations: 2.75 kB / 0.525 GB, free: 15.81 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 (11): * Single equations (assignments): 11 * 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.0001171/0.4212, allocations: 126.2 kB / 0.5251 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.4212, allocations: 8.906 kB / 0.5251 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004468/0.4217, allocations: 194.1 kB / 0.5253 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.4217, allocations: 5.266 kB / 0.5253 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4217, allocations: 0.6094 kB / 0.5253 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4217, allocations: 2.25 kB / 0.5253 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000759/0.4225, allocations: 0.4918 MB / 0.5258 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4225, allocations: 5.344 kB / 0.5258 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.4226, allocations: 25.95 kB / 0.5258 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4226, allocations: 5.188 kB / 0.5258 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4226, allocations: 2.016 kB / 0.5258 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4226, allocations: 1.625 kB / 0.5258 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4226, allocations: 1.531 kB / 0.5258 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.4231, allocations: 274.6 kB / 0.5261 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.4231, allocations: 84.23 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.4231, allocations: 6.797 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.4232, allocations: 10.34 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.4233, allocations: 11.91 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.4233, allocations: 7.062 kB / 0.5262 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.4234, allocations: 134.5 kB / 0.5263 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4234, allocations: 0 / 0.5263 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.4237, allocations: 27.62 kB / 0.5264 GB, free: 14.79 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001043/0.4248, allocations: 457.8 kB / 0.5268 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003616/0.4251, allocations: 127.3 kB / 0.5269 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4251, allocations: 0 / 0.5269 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.4253, allocations: 69.83 kB / 0.527 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.4257, allocations: 23.66 kB / 0.527 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.4263, allocations: 312.1 kB / 0.5273 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.4266, allocations: 0.7111 MB / 0.528 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.4266, allocations: 18.97 kB / 0.528 GB, free: 13.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4267, allocations: 0 / 0.528 GB, free: 13.57 MB / 398.1 MB Notification: Performance of Templates: time 0.004128/0.4308, allocations: 1.984 MB / 0.5299 GB, free: 12.68 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches