Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001158/0.001158, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.397/1.397, allocations: 222.9 MB / 242.4 MB, free: 15.12 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.2128/0.2128, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3555, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002901/0.3585, allocations: 1.668 MB / 0.5201 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3597, allocations: 0.8534 MB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.3598, allocations: 5.469 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.3601, allocations: 62.09 kB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.3603, allocations: 64.8 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.3606, allocations: 103.5 kB / 0.5212 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.3609, allocations: 100.2 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.55e-05/0.3609, allocations: 12.2 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.361, allocations: 46.25 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3611, allocations: 44.17 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.3612, allocations: 2.156 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.019e-05/0.3613, allocations: 38.58 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.3613, allocations: 14.06 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.3614, allocations: 32.53 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.3615, allocations: 95.52 kB / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3616, allocations: 1.375 kB / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3616, allocations: 0 / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3616, allocations: 4 kB / 0.5216 GB, free: 1.254 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.0004402/0.362, allocations: 403.8 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3621, allocations: 9.625 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.3621, allocations: 36.94 kB / 0.522 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.3621, allocations: 8.922 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.3624, allocations: 210.6 kB / 0.5222 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3624, allocations: 1.594 kB / 0.5222 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.3624, allocations: 5.062 kB / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3626, allocations: 55.8 kB / 0.5223 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3626, allocations: 0 / 0.5223 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.3626, allocations: 3.938 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3626, allocations: 1.281 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.539e-05/0.3627, allocations: 15.16 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.3628, allocations: 174.2 kB / 0.5224 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.363, allocations: 60.98 kB / 0.5225 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.3631, allocations: 24 kB / 0.5225 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3631, allocations: 1.906 kB / 0.5225 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.3632, allocations: 63.83 kB / 0.5226 GB, free: 228 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.3632, allocations: 0 / 0.5226 GB, free: 228 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002624/0.3635, allocations: 100.5 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.3636, allocations: 53.14 kB / 0.5227 GB, free: 104 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.3637, allocations: 189.5 kB / 0.5229 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3638, allocations: 31.14 kB / 0.5229 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.3638, allocations: 98.86 kB / 0.523 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.3639, allocations: 15.47 kB / 0.5231 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.3639, allocations: 20.69 kB / 0.5231 GB, free: 15.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3641, allocations: 325 kB / 0.5234 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.093e-05/0.3642, allocations: 14.12 kB / 0.5234 GB, free: 15.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/0.3642, allocations: 37.83 kB / 0.5234 GB, free: 15.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.3643, allocations: 51.03 kB / 0.5235 GB, free: 15.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3644, allocations: 3.938 kB / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001724/0.3645, allocations: 76.09 kB / 0.5236 GB, free: 15.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3646, allocations: 5.688 kB / 0.5236 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3646, allocations: 1.125 kB / 0.5236 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3646, allocations: 2.016 kB / 0.5236 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.3647, allocations: 17.7 kB / 0.5236 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3647, allocations: 1.844 kB / 0.5236 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.981e-05/0.3647, allocations: 2.875 kB / 0.5236 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.3647, allocations: 2.25 kB / 0.5236 GB, free: 15.36 MB / 398.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.0001148/0.3649, allocations: 128.4 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.3649, allocations: 14.3 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.3649, allocations: 13.41 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3649, allocations: 1.531 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3649, allocations: 0.8906 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.365, allocations: 4 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.3652, allocations: 185.2 kB / 0.5239 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3652, allocations: 3.938 kB / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.3652, allocations: 5.016 kB / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3652, allocations: 0.5156 kB / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.3652, allocations: 2.078 kB / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3652, allocations: 0 / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3652, allocations: 1.969 kB / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.3654, allocations: 115.4 kB / 0.524 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.3655, allocations: 84.86 kB / 0.5241 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.3655, allocations: 2.234 kB / 0.5241 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.3656, allocations: 10.11 kB / 0.5241 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.3656, allocations: 4.109 kB / 0.5241 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.3656, allocations: 3.047 kB / 0.5241 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.3658, allocations: 139.3 kB / 0.5243 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3658, allocations: 0 / 0.5243 GB, free: 14.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.366, allocations: 22.3 kB / 0.5243 GB, free: 14.71 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.001969/0.368, allocations: 0.9509 MB / 0.5252 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.3682, allocations: 41.11 kB / 0.5253 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3683, allocations: 0 / 0.5253 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.122e-05/0.3683, allocations: 26.59 kB / 0.5253 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.3686, allocations: 29.48 kB / 0.5253 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.3708, allocations: 1.484 MB / 0.5268 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.3711, allocations: 0.7051 MB / 0.5275 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.036e-05/0.3712, allocations: 15.16 kB / 0.5275 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.3713, allocations: 35.94 kB / 0.5275 GB, free: 11.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3713, allocations: 0 / 0.5275 GB, free: 11.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.3972, allocations: 3.059 MB / 0.5305 GB, free: 10.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.57/8.967, allocations: 13.06 kB / 0.5305 GB, free: 10.72 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches