Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008846/0.0008847, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 229.5 MB / 247.7 MB, free: 6.285 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000778/0.000778, allocations: 99.42 kB / 299.9 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2807/0.2807, allocations: 45 MB / 397 MB, free: 31.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002404, allocations: 8 kB / 470.8 MB, free: 7.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2733, allocations: 63.1 MB / 0.5214 GB, free: 38.49 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.001714/0.2751, allocations: 1.301 MB / 0.5226 GB, free: 37.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008431/0.2759, allocations: 0.7241 MB / 0.5233 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.276, allocations: 3.938 kB / 0.5234 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.2762, allocations: 23.52 kB / 0.5234 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.2764, allocations: 55.61 kB / 0.5234 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.2766, allocations: 102.8 kB / 0.5235 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.2768, allocations: 68.78 kB / 0.5236 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.2769, allocations: 12.5 kB / 0.5236 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.2769, allocations: 20.41 kB / 0.5236 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.277, allocations: 21.28 kB / 0.5236 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.277, allocations: 6.844 kB / 0.5236 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.573e-05/0.2771, allocations: 28.28 kB / 0.5237 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.2771, allocations: 17.28 kB / 0.5237 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.2772, allocations: 44.61 kB / 0.5237 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.2773, allocations: 81.11 kB / 0.5238 GB, free: 36.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2773, allocations: 0 / 0.5238 GB, free: 36.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2774, allocations: 0 / 0.5238 GB, free: 36.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.2774, allocations: 0 / 0.5238 GB, free: 36.68 MB / 378.7 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.0003551/0.2777, allocations: 374.8 kB / 0.5242 GB, free: 36.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2778, allocations: 9.969 kB / 0.5242 GB, free: 36.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.2778, allocations: 7.312 kB / 0.5242 GB, free: 36.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.278, allocations: 204.3 kB / 0.5244 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.278, allocations: 4.375 kB / 0.5244 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.278, allocations: 2.781 kB / 0.5244 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.2781, allocations: 48.89 kB / 0.5244 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2782, allocations: 2.688 kB / 0.5244 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.2782, allocations: 0 / 0.5244 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2782, allocations: 3.984 kB / 0.5244 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.601e-05/0.2783, allocations: 29.25 kB / 0.5245 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.2786, allocations: 289 kB / 0.5247 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.2788, allocations: 47.25 kB / 0.5248 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.2788, allocations: 20.5 kB / 0.5248 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.2789, allocations: 4 kB / 0.5248 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.2789, allocations: 30.56 kB / 0.5248 GB, free: 35.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2789, allocations: 0 / 0.5248 GB, free: 35.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005066/0.2794, allocations: 169.8 kB / 0.525 GB, free: 35.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.2794, allocations: 55.34 kB / 0.5251 GB, free: 35.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2796, allocations: 170.3 kB / 0.5252 GB, free: 35.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.2796, allocations: 25.7 kB / 0.5252 GB, free: 35.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.2796, allocations: 101.7 kB / 0.5253 GB, free: 35.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.2796, allocations: 14.16 kB / 0.5254 GB, free: 35.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.2796, allocations: 4 kB / 0.5254 GB, free: 35.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.8e-05/0.2797, allocations: 320.8 kB / 0.5257 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.2798, allocations: 24.12 kB / 0.5257 GB, free: 34.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.2798, allocations: 25.8 kB / 0.5257 GB, free: 34.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.2799, allocations: 63.73 kB / 0.5258 GB, free: 34.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.28, allocations: 0 / 0.5258 GB, free: 34.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001526/0.2801, allocations: 92.73 kB / 0.5259 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.2801, allocations: 5.469 kB / 0.5259 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.2801, allocations: 4 kB / 0.5259 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2802, allocations: 3.469 kB / 0.5259 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/0.2802, allocations: 13.5 kB / 0.5259 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2802, allocations: 3.938 kB / 0.5259 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.2803, allocations: 13.48 kB / 0.5259 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.2803, allocations: 7.938 kB / 0.5259 GB, free: 34.84 MB / 378.7 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 5.42e-05/0.2803, allocations: 115.7 kB / 0.526 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.2804, allocations: 16.84 kB / 0.526 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.2806, allocations: 103.8 kB / 0.5261 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.2806, allocations: 2.469 kB / 0.5261 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.2806, allocations: 0 / 0.5261 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2806, allocations: 3.938 kB / 0.5261 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.2809, allocations: 370.4 kB / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2809, allocations: 0 / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.874e-05/0.281, allocations: 10.72 kB / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.281, allocations: 3.281 kB / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.281, allocations: 3.938 kB / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.281, allocations: 6.75 kB / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.281, allocations: 0 / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.2812, allocations: 191.2 kB / 0.5267 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.2812, allocations: 86.8 kB / 0.5268 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.2812, allocations: 3.938 kB / 0.5268 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.2813, allocations: 13.06 kB / 0.5268 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.2813, allocations: 5.906 kB / 0.5268 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.2813, allocations: 2.656 kB / 0.5268 GB, free: 34.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.931e-05/0.2814, allocations: 122.4 kB / 0.5269 GB, free: 33.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2814, allocations: 2.594 kB / 0.5269 GB, free: 33.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.2816, allocations: 19.62 kB / 0.5269 GB, free: 33.96 MB / 378.7 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.0007832/0.2824, allocations: 465.1 kB / 0.5274 GB, free: 33.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.2826, allocations: 60.33 kB / 0.5274 GB, free: 33.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2826, allocations: 0 / 0.5274 GB, free: 33.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.638e-05/0.2827, allocations: 32.16 kB / 0.5275 GB, free: 33.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.283, allocations: 28.28 kB / 0.5275 GB, free: 33.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.2833, allocations: 209.7 kB / 0.5277 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.2834, allocations: 0.6971 MB / 0.5284 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.687e-05/0.2834, allocations: 11.89 kB / 0.5284 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.2835, allocations: 13.5 kB / 0.5284 GB, free: 32.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2835, allocations: 0 / 0.5284 GB, free: 32.77 MB / 378.7 MB Notification: Performance of Templates: time 0.002756/0.2862, allocations: 1.07 MB / 0.5295 GB, free: 32.64 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches