Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 113.2 kB / 17.78 MB, free: 5.262 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.001411/0.001411, allocations: 185 kB / 18.71 MB, free: 4.34 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.515/1.515, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2301/0.2301, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 67.89 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4254, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003244/0.4287, allocations: 1.625 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.4295, allocations: 415.8 kB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.4296, allocations: 1.125 kB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.4299, allocations: 93.61 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.4302, allocations: 70.03 kB / 0.5211 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.4305, allocations: 87.11 kB / 0.5212 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.4307, allocations: 95.09 kB / 0.5212 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.4308, allocations: 26.27 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-05/0.4309, allocations: 37.48 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.4311, allocations: 57.44 kB / 0.5214 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.4311, allocations: 4.625 kB / 0.5214 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.4312, allocations: 48.52 kB / 0.5214 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.957e-05/0.4313, allocations: 25.61 kB / 0.5214 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.659e-05/0.4314, allocations: 42.12 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.4316, allocations: 121.5 kB / 0.5216 GB, free: 1.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.4317, allocations: 7.938 kB / 0.5216 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4317, allocations: 3.938 kB / 0.5216 GB, free: 1.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.4317, allocations: 0 / 0.5216 GB, free: 1.926 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005865/0.4323, allocations: 423.1 kB / 0.522 GB, free: 1.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4323, allocations: 8.844 kB / 0.522 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.4324, allocations: 11.19 kB / 0.522 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.4326, allocations: 212.2 kB / 0.5222 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.4326, allocations: 11.53 kB / 0.5222 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.4326, allocations: 4.656 kB / 0.5222 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.4328, allocations: 69.69 kB / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.4328, allocations: 1.922 kB / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.4329, allocations: 1.094 kB / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.4329, allocations: 1.344 kB / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.433, allocations: 43.61 kB / 0.5224 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.4335, allocations: 335 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.4337, allocations: 59.73 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.461e-05/0.4337, allocations: 22.27 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.4338, allocations: 1.609 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.4338, allocations: 32.31 kB / 0.5228 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.4338, allocations: 5.188 kB / 0.5228 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001143/0.435, allocations: 310.5 kB / 0.5231 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.435, allocations: 54.73 kB / 0.5231 GB, free: 0.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.4353, allocations: 231.8 kB / 0.5234 GB, free: 496 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.4353, allocations: 26.77 kB / 0.5234 GB, free: 464 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.4354, allocations: 115.2 kB / 0.5235 GB, free: 356 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.4354, allocations: 43.62 kB / 0.5235 GB, free: 320 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.4355, allocations: 28.28 kB / 0.5236 GB, free: 296 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4356, allocations: 328.5 kB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.4357, allocations: 32.78 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.204e-05/0.4358, allocations: 39.61 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.436, allocations: 101.4 kB / 0.524 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.436, allocations: 0 / 0.524 GB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002655/0.4363, allocations: 130.9 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4363, allocations: 5.266 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.4363, allocations: 0 / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4363, allocations: 5.062 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.4365, allocations: 26.08 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4365, allocations: 5.188 kB / 0.5242 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.4365, allocations: 12.59 kB / 0.5242 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.4365, allocations: 4.875 kB / 0.5242 GB, free: 15.82 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 (13): * Single equations (assignments): 13 * 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.0001261/0.4367, allocations: 133.1 kB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.4367, allocations: 10.66 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/0.4371, allocations: 166.2 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4371, allocations: 5.875 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4371, allocations: 0.5625 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4371, allocations: 4.75 kB / 0.5245 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.4378, allocations: 474.4 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4378, allocations: 0.6562 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.4379, allocations: 24.48 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4379, allocations: 1.125 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4379, allocations: 2.188 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4379, allocations: 5.781 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4379, allocations: 0 / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.4382, allocations: 244 kB / 0.5252 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.4383, allocations: 94.88 kB / 0.5253 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.4383, allocations: 8.516 kB / 0.5253 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.4384, allocations: 5.75 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.4384, allocations: 17.41 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.4385, allocations: 3.75 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.4386, allocations: 171.6 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4386, allocations: 0 / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.4389, allocations: 27.58 kB / 0.5256 GB, free: 14.81 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 (13): * Single equations (assignments): 13 * 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.001138/0.4401, allocations: 456.2 kB / 0.526 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.4404, allocations: 97.19 kB / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4404, allocations: 0 / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.4405, allocations: 55.45 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.4409, allocations: 23.62 kB / 0.5262 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006144/0.4415, allocations: 302.3 kB / 0.5265 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.4418, allocations: 0.717 MB / 0.5272 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.66e-05/0.4419, allocations: 20.56 kB / 0.5272 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.442, allocations: 16.91 kB / 0.5272 GB, free: 13.64 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.442, allocations: 5.312 kB / 0.5272 GB, free: 13.63 MB / 398.1 MB Notification: Performance of Templates: time 0.00458/0.4466, allocations: 1.534 MB / 0.5287 GB, free: 13.06 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches