Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001275/0.001275, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.336/1.336, allocations: 222.9 MB / 243.1 MB, free: 15.2 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.2163/0.2163, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.91 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4127, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003332/0.4161, allocations: 1.629 MB / 0.5212 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.4178, allocations: 1.053 MB / 0.5222 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.181e-05/0.4179, allocations: 1.656 kB / 0.5222 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.4182, allocations: 27.44 kB / 0.5222 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.4185, allocations: 46.27 kB / 0.5223 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.4189, allocations: 174.9 kB / 0.5224 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.4191, allocations: 73.56 kB / 0.5225 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.4192, allocations: 19.47 kB / 0.5225 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.262e-05/0.4193, allocations: 21.28 kB / 0.5225 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.4195, allocations: 32.8 kB / 0.5226 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.4195, allocations: 8.031 kB / 0.5226 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.4196, allocations: 51.31 kB / 0.5226 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.4197, allocations: 16.84 kB / 0.5226 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.4197, allocations: 22.28 kB / 0.5227 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.42, allocations: 109.2 kB / 0.5228 GB, free: 1.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.42, allocations: 0 / 0.5228 GB, free: 1.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.42, allocations: 0 / 0.5228 GB, free: 1.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.42, allocations: 0 / 0.5228 GB, free: 1.438 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.000474/0.4205, allocations: 384.6 kB / 0.5231 GB, free: 1.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4205, allocations: 12.38 kB / 0.5232 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.4206, allocations: 8.812 kB / 0.5232 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.4208, allocations: 191.5 kB / 0.5233 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.4208, allocations: 1.75 kB / 0.5233 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.4208, allocations: 10.92 kB / 0.5234 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.421, allocations: 80.36 kB / 0.5234 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.421, allocations: 1.219 kB / 0.5234 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4211, allocations: 3.938 kB / 0.5234 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4211, allocations: 5.219 kB / 0.5234 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.4212, allocations: 39.64 kB / 0.5235 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.4216, allocations: 303.1 kB / 0.5238 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.4218, allocations: 47.55 kB / 0.5238 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.52e-05/0.4219, allocations: 29.33 kB / 0.5238 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.4219, allocations: 1.094 kB / 0.5238 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.4219, allocations: 32.34 kB / 0.5239 GB, free: 384 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4219, allocations: 0 / 0.5239 GB, free: 384 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008303/0.4228, allocations: 229.3 kB / 0.5241 GB, free: 292 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.4228, allocations: 79.02 kB / 0.5242 GB, free: 196 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.423, allocations: 134.5 kB / 0.5243 GB, free: 84 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.423, allocations: 27.84 kB / 0.5243 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.4231, allocations: 92.64 kB / 0.5244 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.4231, allocations: 20.7 kB / 0.5244 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.4231, allocations: 20.98 kB / 0.5245 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4233, allocations: 328 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.4234, allocations: 37.34 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.4235, allocations: 56.62 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.4238, allocations: 94.27 kB / 0.5249 GB, free: 15.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4238, allocations: 1.812 kB / 0.5249 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003247/0.4242, allocations: 120.5 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4242, allocations: 9.812 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4242, allocations: 0 / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.4242, allocations: 1.766 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.4244, allocations: 18.47 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4244, allocations: 9.062 kB / 0.5251 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.4245, allocations: 12.95 kB / 0.5251 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.4245, allocations: 7.031 kB / 0.5251 GB, free: 15.46 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 (7): * Single equations (assignments): 7 * 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.641e-05/0.4246, allocations: 120.5 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.4246, allocations: 7.531 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.425, allocations: 136.8 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.425, allocations: 1.688 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.425, allocations: 0 / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.425, allocations: 4.594 kB / 0.5254 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.4256, allocations: 408.9 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4256, allocations: 0 / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/0.4257, allocations: 19.52 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4257, allocations: 4 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.4257, allocations: 5.844 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4258, allocations: 1.438 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4258, allocations: 0 / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.4261, allocations: 218.8 kB / 0.526 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.4262, allocations: 84.11 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.4262, allocations: 9.719 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.4263, allocations: 8.688 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.4263, allocations: 10.55 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.4264, allocations: 1.812 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.003e-05/0.4265, allocations: 103.4 kB / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4265, allocations: 0 / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.4267, allocations: 28.52 kB / 0.5262 GB, free: 14.55 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 (7): * Single equations (assignments): 7 * 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.001081/0.4278, allocations: 449.5 kB / 0.5267 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003337/0.4282, allocations: 89.95 kB / 0.5268 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4282, allocations: 5.375 kB / 0.5268 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.4283, allocations: 49.05 kB / 0.5268 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.4287, allocations: 19.47 kB / 0.5268 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.4292, allocations: 221 kB / 0.527 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4295, allocations: 0.7051 MB / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.4296, allocations: 21.14 kB / 0.5277 GB, free: 13.39 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4296, allocations: 0 / 0.5277 GB, free: 13.39 MB / 398.1 MB Notification: Performance of Templates: time 0.004281/0.4339, allocations: 1.818 MB / 0.5295 GB, free: 12.69 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches