Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 114.4 kB / 17.78 MB, free: 5.277 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.001135/0.001135, allocations: 179.8 kB / 18.71 MB, free: 4.355 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.292/1.292, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1951/0.1951, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3472, allocations: 60.82 MB / 0.519 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002556/0.3498, allocations: 1.676 MB / 0.5206 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.351, allocations: 0.8456 MB / 0.5214 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.3511, allocations: 1.25 kB / 0.5214 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.3514, allocations: 51.34 kB / 0.5215 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.3516, allocations: 60.67 kB / 0.5215 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.3519, allocations: 112.1 kB / 0.5216 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.352, allocations: 96.81 kB / 0.5217 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.3521, allocations: 5.188 kB / 0.5217 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.3522, allocations: 43.58 kB / 0.5218 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.113e-05/0.3522, allocations: 35.33 kB / 0.5218 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3523, allocations: 3.5 kB / 0.5218 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/0.3524, allocations: 34.25 kB / 0.5219 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/0.3524, allocations: 20.86 kB / 0.5219 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.3525, allocations: 27.58 kB / 0.5219 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.3527, allocations: 99.06 kB / 0.522 GB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3527, allocations: 1.125 kB / 0.522 GB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3527, allocations: 3.938 kB / 0.522 GB, free: 1.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3527, allocations: 0 / 0.522 GB, free: 1.852 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004205/0.3531, allocations: 403.3 kB / 0.5224 GB, free: 1.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3531, allocations: 9 kB / 0.5224 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.3532, allocations: 10.28 kB / 0.5224 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.3534, allocations: 200.5 kB / 0.5226 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3534, allocations: 5.609 kB / 0.5226 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.3534, allocations: 13.75 kB / 0.5226 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.3536, allocations: 47.16 kB / 0.5227 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3536, allocations: 0 / 0.5227 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3536, allocations: 1.156 kB / 0.5227 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3536, allocations: 0.8906 kB / 0.5227 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.3537, allocations: 18.42 kB / 0.5227 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.3538, allocations: 181.6 kB / 0.5229 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.354, allocations: 56.92 kB / 0.5229 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.354, allocations: 24.33 kB / 0.5229 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3541, allocations: 1.125 kB / 0.5229 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.3542, allocations: 64.42 kB / 0.523 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.3542, allocations: 0 / 0.523 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002583/0.3545, allocations: 92 kB / 0.5231 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3545, allocations: 61.22 kB / 0.5231 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3547, allocations: 173.8 kB / 0.5233 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.3547, allocations: 26.83 kB / 0.5233 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.3547, allocations: 98.05 kB / 0.5234 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.3548, allocations: 19.69 kB / 0.5234 GB, free: 488 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.3548, allocations: 20.73 kB / 0.5235 GB, free: 468 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.3549, allocations: 321.8 kB / 0.5238 GB, free: 144 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-05/0.3549, allocations: 17.45 kB / 0.5238 GB, free: 136 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.815e-05/0.355, allocations: 26.66 kB / 0.5238 GB, free: 116 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.508e-05/0.3551, allocations: 46.08 kB / 0.5239 GB, free: 84 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3551, allocations: 0 / 0.5239 GB, free: 84 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001394/0.3552, allocations: 84.59 kB / 0.5239 GB, free: 28 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3553, allocations: 8.531 kB / 0.5239 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3553, allocations: 0 / 0.5239 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3553, allocations: 5.953 kB / 0.5239 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.222e-05/0.3554, allocations: 10.22 kB / 0.524 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3554, allocations: 5.031 kB / 0.524 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.3554, allocations: 7.391 kB / 0.524 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3554, allocations: 2.062 kB / 0.524 GB, free: 16 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 0.0001092/0.3555, allocations: 123.5 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.3556, allocations: 13.03 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.3556, allocations: 13.22 kB / 0.5241 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3556, allocations: 10.39 kB / 0.5241 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3556, allocations: 320 / 0.5241 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3556, allocations: 0.6562 kB / 0.5241 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.3558, allocations: 183.5 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3558, allocations: 1.438 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.3558, allocations: 3.844 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3558, allocations: 1.562 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3558, allocations: 4.562 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3558, allocations: 0.8438 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3558, allocations: 0 / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.356, allocations: 113.1 kB / 0.5244 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.3561, allocations: 87.97 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3561, allocations: 6.281 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.388e-05/0.3562, allocations: 5.719 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.3562, allocations: 3.672 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3562, allocations: 2.859 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.3563, allocations: 131 kB / 0.5246 GB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3563, allocations: 0 / 0.5246 GB, free: 15.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002028/0.3565, allocations: 21.69 kB / 0.5247 GB, free: 15.37 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009136/0.3575, allocations: 415 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.3576, allocations: 45.44 kB / 0.5251 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3577, allocations: 4 kB / 0.5251 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.96e-05/0.3577, allocations: 18.3 kB / 0.5251 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.358, allocations: 31.59 kB / 0.5252 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.3584, allocations: 181.2 kB / 0.5253 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.3587, allocations: 0.7047 MB / 0.526 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.994e-05/0.3588, allocations: 14.38 kB / 0.526 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.3588, allocations: 14.11 kB / 0.526 GB, free: 14.28 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3588, allocations: 0 / 0.526 GB, free: 14.28 MB / 398.1 MB Notification: Performance of Templates: time 0.0045/0.3633, allocations: 1.478 MB / 0.5275 GB, free: 13.88 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches