Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009746/0.0009746, allocations: 193.8 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.23/1.23, 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.0007175/0.0007175, allocations: 105 kB / 299.9 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2766/0.2766, allocations: 45.01 MB / 397 MB, free: 31.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000246/0.000246, allocations: 8 kB / 470.8 MB, free: 7.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2664, allocations: 63.11 MB / 0.5214 GB, free: 38.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.00145/0.2679, allocations: 1.311 MB / 0.5227 GB, free: 37.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007234/0.2686, allocations: 0.7301 MB / 0.5234 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.2687, allocations: 2.531 kB / 0.5234 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.2689, allocations: 125.6 kB / 0.5235 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.2691, allocations: 110.6 kB / 0.5236 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.2693, allocations: 79.2 kB / 0.5237 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.2694, allocations: 91.92 kB / 0.5238 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.11e-05/0.2695, allocations: 11.34 kB / 0.5238 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.2696, allocations: 42.34 kB / 0.5238 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.44e-05/0.2696, allocations: 76.56 kB / 0.5239 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.2697, allocations: 4 kB / 0.5239 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.061e-05/0.2697, allocations: 44.77 kB / 0.5239 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.2698, allocations: 25.5 kB / 0.524 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.2698, allocations: 63.08 kB / 0.524 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.27, allocations: 117 kB / 0.5241 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.27, allocations: 0 / 0.5241 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.27, allocations: 6.812 kB / 0.5241 GB, free: 36.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.27, allocations: 0 / 0.5241 GB, free: 36.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003351/0.2703, allocations: 410.8 kB / 0.5245 GB, free: 36.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2704, allocations: 14.53 kB / 0.5245 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.2704, allocations: 14.62 kB / 0.5245 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.2706, allocations: 213.2 kB / 0.5248 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.2706, allocations: 4.375 kB / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.2706, allocations: 3.156 kB / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.2707, allocations: 58.86 kB / 0.5248 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2707, allocations: 3.984 kB / 0.5248 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.2708, allocations: 4 kB / 0.5248 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.2708, allocations: 2.969 kB / 0.5248 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.354e-05/0.2709, allocations: 32.12 kB / 0.5249 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.2711, allocations: 302.9 kB / 0.5251 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.463e-05/0.2712, allocations: 50.17 kB / 0.5252 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.2713, allocations: 20.88 kB / 0.5252 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.2713, allocations: 0 / 0.5252 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.2713, allocations: 34.5 kB / 0.5252 GB, free: 35.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.2713, allocations: 0 / 0.5252 GB, free: 35.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007229/0.2721, allocations: 265.4 kB / 0.5255 GB, free: 35.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.2721, allocations: 54.38 kB / 0.5256 GB, free: 35.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.2723, allocations: 278.2 kB / 0.5258 GB, free: 35.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.2723, allocations: 25.7 kB / 0.5258 GB, free: 35.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.2723, allocations: 116 kB / 0.526 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.2724, allocations: 37.55 kB / 0.526 GB, free: 34.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.2724, allocations: 2.906 kB / 0.526 GB, free: 34.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.139e-05/0.2724, allocations: 325.1 kB / 0.5263 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.2725, allocations: 32.14 kB / 0.5263 GB, free: 34.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.513e-05/0.2725, allocations: 27.48 kB / 0.5264 GB, free: 34.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.2727, allocations: 68.59 kB / 0.5264 GB, free: 34.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2727, allocations: 0 / 0.5264 GB, free: 34.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001644/0.2728, allocations: 108.7 kB / 0.5265 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2729, allocations: 5.688 kB / 0.5265 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2729, allocations: 0 / 0.5265 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2729, allocations: 4 kB / 0.5265 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.273, allocations: 24.61 kB / 0.5266 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.273, allocations: 0 / 0.5266 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.273, allocations: 13.28 kB / 0.5266 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.273, allocations: 2.438 kB / 0.5266 GB, free: 34.47 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 (8): * Single equations (assignments): 8 * 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 6.018e-05/0.2731, allocations: 131.5 kB / 0.5267 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.2731, allocations: 13.5 kB / 0.5267 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.2734, allocations: 136.5 kB / 0.5268 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2734, allocations: 7.875 kB / 0.5268 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2734, allocations: 0 / 0.5268 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2734, allocations: 6.875 kB / 0.5269 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.2738, allocations: 412.4 kB / 0.5272 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2738, allocations: 6.109 kB / 0.5273 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/0.2738, allocations: 19.7 kB / 0.5273 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2738, allocations: 7.875 kB / 0.5273 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.2739, allocations: 4 kB / 0.5273 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2739, allocations: 6.438 kB / 0.5273 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2739, allocations: 0 / 0.5273 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.2741, allocations: 222.8 kB / 0.5275 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.2741, allocations: 101.8 kB / 0.5276 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2741, allocations: 0 / 0.5276 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.2742, allocations: 9.75 kB / 0.5276 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.2742, allocations: 10.08 kB / 0.5276 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2742, allocations: 2.812 kB / 0.5276 GB, free: 33.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.2744, allocations: 207.2 kB / 0.5278 GB, free: 33.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2744, allocations: 0 / 0.5278 GB, free: 33.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002102/0.2746, allocations: 24.44 kB / 0.5278 GB, free: 33.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008792/0.2755, allocations: 0.5079 MB / 0.5283 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.2757, allocations: 74.59 kB / 0.5284 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2757, allocations: 3.938 kB / 0.5284 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.2758, allocations: 37.09 kB / 0.5284 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.2761, allocations: 23.67 kB / 0.5285 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.2766, allocations: 345.6 kB / 0.5288 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.2768, allocations: 0.7172 MB / 0.5295 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.097e-05/0.2768, allocations: 13.45 kB / 0.5295 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.2768, allocations: 13.5 kB / 0.5295 GB, free: 32.19 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.2768, allocations: 0 / 0.5295 GB, free: 32.19 MB / 378.7 MB Notification: Performance of Templates: time 0.003563/0.2804, allocations: 1.299 MB / 0.5308 GB, free: 32.04 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches