Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.00139/0.001391, allocations: 185 kB / 18.72 MB, free: 4.332 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.306/1.306, allocations: 222.9 MB / 242.4 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.1907/0.1907, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 55.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3254, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002487/0.328, allocations: 1.583 MB / 0.5205 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006014/0.3286, allocations: 410.5 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.3286, allocations: 1.156 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.3289, allocations: 67.58 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.3291, allocations: 64.12 kB / 0.521 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.3294, allocations: 93.11 kB / 0.5211 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3295, allocations: 77.95 kB / 0.5212 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.3296, allocations: 14.62 kB / 0.5212 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.868e-05/0.3297, allocations: 36.81 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.401e-05/0.3298, allocations: 50.3 kB / 0.5213 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.3298, allocations: 2.375 kB / 0.5213 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.024e-05/0.3299, allocations: 48.52 kB / 0.5213 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.3299, allocations: 21.7 kB / 0.5213 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.33, allocations: 30.92 kB / 0.5214 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.3301, allocations: 99.86 kB / 0.5215 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3301, allocations: 0 / 0.5215 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3301, allocations: 0 / 0.5215 GB, free: 2.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3301, allocations: 5.688 kB / 0.5215 GB, free: 2.004 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.000334/0.3305, allocations: 411 kB / 0.5218 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.3305, allocations: 8.594 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3306, allocations: 10.02 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.3307, allocations: 198.6 kB / 0.5221 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.3307, allocations: 1.438 kB / 0.5221 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.3307, allocations: 6.844 kB / 0.5221 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.3309, allocations: 60.92 kB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3309, allocations: 3.938 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3309, allocations: 1.031 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3309, allocations: 1.891 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.779e-05/0.331, allocations: 28.33 kB / 0.5222 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.3313, allocations: 293.3 kB / 0.5224 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.433e-05/0.3314, allocations: 46.72 kB / 0.5225 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.3314, allocations: 19.17 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3314, allocations: 1.531 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.129e-05/0.3315, allocations: 32.66 kB / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.3315, allocations: 0 / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007589/0.3322, allocations: 222.2 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.3323, allocations: 57.38 kB / 0.5228 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3324, allocations: 206.9 kB / 0.523 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.3324, allocations: 37.58 kB / 0.523 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.3325, allocations: 105.3 kB / 0.5231 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.3325, allocations: 28.48 kB / 0.5232 GB, free: 492 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.3325, allocations: 20.77 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.3326, allocations: 322 kB / 0.5235 GB, free: 148 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.3327, allocations: 22.33 kB / 0.5235 GB, free: 144 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.3327, allocations: 26.91 kB / 0.5235 GB, free: 136 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3329, allocations: 63.72 kB / 0.5236 GB, free: 108 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3329, allocations: 0 / 0.5236 GB, free: 108 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001731/0.3331, allocations: 94.56 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.3331, allocations: 4.156 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3331, allocations: 1.344 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3331, allocations: 0.7031 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.3332, allocations: 25.47 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3332, allocations: 3.938 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.782e-05/0.3333, allocations: 8.875 kB / 0.5237 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3333, allocations: 6.812 kB / 0.5237 GB, free: 40 kB / 382.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 (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 9.101e-05/0.3334, allocations: 126.2 kB / 0.5239 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.3334, allocations: 14.81 kB / 0.5239 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.3337, allocations: 121.6 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3337, allocations: 1.344 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3337, allocations: 3.938 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3337, allocations: 4.797 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.3342, allocations: 405.4 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3342, allocations: 0 / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.477e-05/0.3342, allocations: 19.84 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3343, allocations: 2.406 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.3343, allocations: 5.969 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3343, allocations: 4.703 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3343, allocations: 7.969 kB / 0.5244 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.3345, allocations: 198.8 kB / 0.5246 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.3346, allocations: 88.69 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.3346, allocations: 2.156 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.3347, allocations: 6.016 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.3347, allocations: 13.39 kB / 0.5247 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.3347, allocations: 6.844 kB / 0.5247 GB, free: 15.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.3348, allocations: 155.4 kB / 0.5249 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3349, allocations: 1.656 kB / 0.5249 GB, free: 15.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.3351, allocations: 22.47 kB / 0.5249 GB, free: 15.09 MB / 398.1 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.0009157/0.336, allocations: 451.8 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.3362, allocations: 64.05 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3362, allocations: 0 / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.717e-05/0.3363, allocations: 41.62 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.3366, allocations: 21.14 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.337, allocations: 246.7 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.3373, allocations: 0.7062 MB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.962e-05/0.3373, allocations: 16.62 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.3373, allocations: 17.5 kB / 0.5264 GB, free: 13.93 MB / 398.1 MB Notification: Performance of SimCode: time 2.675e-06/0.3374, allocations: 1.375 kB / 0.5264 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Templates: time 0.003455/0.3408, allocations: 1.332 MB / 0.5277 GB, free: 13.58 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches