Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 46.13 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 83.86 kB / 481 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3537, allocations: 62.44 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003387/0.3571, allocations: 1.743 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.3591, allocations: 1.017 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.544e-05/0.3592, allocations: 5.312 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.3596, allocations: 40.16 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.3599, allocations: 96.47 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.3602, allocations: 82.91 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.3603, allocations: 100.9 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3605, allocations: 6.875 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3606, allocations: 52.27 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3607, allocations: 33.42 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3607, allocations: 4.125 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.3608, allocations: 44.36 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.3609, allocations: 22.62 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.361, allocations: 31.88 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.3612, allocations: 130.9 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3612, allocations: 0.8438 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3612, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.3613, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006676/0.3619, allocations: 430.9 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.362, allocations: 9.188 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.362, allocations: 35.81 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.3621, allocations: 9.828 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.3624, allocations: 220.4 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.3625, allocations: 1.875 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.3625, allocations: 6.938 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.3627, allocations: 53.95 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3627, allocations: 4 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3627, allocations: 1.125 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3627, allocations: 1.219 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.906e-05/0.3628, allocations: 21.77 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.3633, allocations: 295.3 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.3636, allocations: 58.48 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.241e-05/0.3637, allocations: 25.69 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.3637, allocations: 1.031 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.3639, allocations: 72.55 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.3639, allocations: 0 / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006864/0.3646, allocations: 186.9 kB / 0.5354 GB, free: 9.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.3646, allocations: 53.56 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.3649, allocations: 211.5 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.365, allocations: 26.89 kB / 0.5357 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.3651, allocations: 105.1 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.3651, allocations: 23.94 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.3652, allocations: 20.44 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.3654, allocations: 326.3 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.3655, allocations: 18.95 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.3655, allocations: 39.58 kB / 0.5362 GB, free: 8.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3657, allocations: 67.77 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3657, allocations: 0 / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.3659, allocations: 96.22 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3659, allocations: 7.844 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3659, allocations: 0 / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3659, allocations: 1.375 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.3661, allocations: 29.7 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3661, allocations: 0 / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.3661, allocations: 10.62 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3661, allocations: 2.906 kB / 0.5364 GB, free: 8.574 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 (10): * Single equations (assignments): 10 * 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.0001137/0.3663, allocations: 127.5 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3663, allocations: 14.78 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.3663, allocations: 18.89 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3664, allocations: 5.359 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3664, allocations: 0 / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3664, allocations: 7.938 kB / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.3669, allocations: 391.5 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3669, allocations: 1.188 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.3669, allocations: 11.33 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3669, allocations: 9.125 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3669, allocations: 0.9688 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3669, allocations: 1.188 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.367, allocations: 1.125 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.3672, allocations: 217.1 kB / 0.5372 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.3673, allocations: 84.25 kB / 0.5372 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.3673, allocations: 9 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.3674, allocations: 6.203 kB / 0.5373 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.3674, allocations: 3.25 kB / 0.5373 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.3674, allocations: 4.375 kB / 0.5373 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.3676, allocations: 171.2 kB / 0.5374 GB, free: 7.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3676, allocations: 0 / 0.5374 GB, free: 7.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.3679, allocations: 20.62 kB / 0.5374 GB, free: 7.598 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.00218/0.37, allocations: 1.083 MB / 0.5385 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.3703, allocations: 58.53 kB / 0.5386 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3703, allocations: 0 / 0.5386 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.769e-05/0.3704, allocations: 33.36 kB / 0.5386 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.3707, allocations: 33.67 kB / 0.5386 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.3727, allocations: 1.689 MB / 0.5403 GB, free: 5.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.373, allocations: 0.7146 MB / 0.541 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.198e-05/0.3731, allocations: 13.78 kB / 0.541 GB, free: 4.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.3732, allocations: 43.22 kB / 0.541 GB, free: 4.469 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3732, allocations: 0 / 0.541 GB, free: 4.469 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.3972, allocations: 3.515 MB / 0.5445 GB, free: 2.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.509, allocations: 5.219 kB / 0.5445 GB, free: 2.574 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches