Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001423, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 247 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2399/0.2399, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 80.09 kB / 481 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3931, allocations: 62.45 MB / 0.5307 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003063/0.3962, allocations: 1.726 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.398, allocations: 1.019 MB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.172e-05/0.3981, allocations: 3.938 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.3984, allocations: 42.77 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.3988, allocations: 94.75 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.399, allocations: 82.73 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.3992, allocations: 101.1 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3993, allocations: 10.89 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.198e-05/0.3994, allocations: 47.61 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.819e-05/0.3995, allocations: 29.39 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.3995, allocations: 4 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3996, allocations: 44.77 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.3997, allocations: 21.28 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.895e-05/0.3997, allocations: 39.66 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.4, allocations: 116.6 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4, allocations: 5.125 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4, allocations: 0 / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.4, allocations: 0 / 0.534 GB, free: 10.77 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.0006206/0.4006, allocations: 416.1 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4007, allocations: 9.156 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.4007, allocations: 39.73 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.4008, allocations: 13.34 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.4011, allocations: 220 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.4011, allocations: 1.5 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.4011, allocations: 6.281 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.4013, allocations: 54.11 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4013, allocations: 1 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.4013, allocations: 0 / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4013, allocations: 5.125 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.4014, allocations: 19.3 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.4018, allocations: 293.8 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.402, allocations: 53.17 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.4021, allocations: 18.3 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.4021, allocations: 1.156 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.4023, allocations: 72.17 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.4023, allocations: 1.25 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005523/0.4028, allocations: 181 kB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.4029, allocations: 52.78 kB / 0.5354 GB, free: 9.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.4031, allocations: 186.1 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.4031, allocations: 31.08 kB / 0.5356 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.4032, allocations: 100.2 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.4032, allocations: 23.97 kB / 0.5357 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.4033, allocations: 28.58 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4034, allocations: 325.6 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.838e-05/0.4035, allocations: 19.06 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.4036, allocations: 35.45 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.4037, allocations: 63.77 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4037, allocations: 0 / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.4039, allocations: 98.84 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4039, allocations: 9.484 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4039, allocations: 1.375 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4039, allocations: 1.562 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.404, allocations: 16.31 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.404, allocations: 5.312 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.4041, allocations: 13.25 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.4041, allocations: 6.734 kB / 0.5363 GB, free: 8.566 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.0001062/0.4042, allocations: 122.1 kB / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.4043, allocations: 9.453 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.4043, allocations: 22.89 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4043, allocations: 1.375 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4043, allocations: 0 / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4043, allocations: 3.938 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.4048, allocations: 393.7 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4049, allocations: 5.031 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.4049, allocations: 19.64 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4049, allocations: 5 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.4049, allocations: 1.062 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4049, allocations: 5 kB / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4049, allocations: 5.078 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.4052, allocations: 195.7 kB / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.4053, allocations: 88.92 kB / 0.5372 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.4053, allocations: 9.375 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.4054, allocations: 6.172 kB / 0.5372 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.4054, allocations: 2.75 kB / 0.5372 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.4054, allocations: 7.25 kB / 0.5372 GB, free: 7.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.4056, allocations: 140.2 kB / 0.5373 GB, free: 7.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4056, allocations: 0 / 0.5373 GB, free: 7.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.4059, allocations: 21.09 kB / 0.5373 GB, free: 7.613 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.002164/0.4081, allocations: 1.094 MB / 0.5384 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.4083, allocations: 57.98 kB / 0.5385 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4083, allocations: 0 / 0.5385 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.4084, allocations: 29.33 kB / 0.5385 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.4088, allocations: 32.38 kB / 0.5385 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.4107, allocations: 1.651 MB / 0.5401 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.4111, allocations: 0.7041 MB / 0.5408 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.169e-05/0.4111, allocations: 9.922 kB / 0.5408 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.4112, allocations: 31.58 kB / 0.5409 GB, free: 4.512 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4112, allocations: 0 / 0.5409 GB, free: 4.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.4361, allocations: 3.384 MB / 0.5442 GB, free: 2.684 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.409, allocations: 11.72 kB / 0.5442 GB, free: 2.676 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches