Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 203.9 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.461/1.461, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.11 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 75.88 kB / 481 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4063, allocations: 62.46 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003358/0.4097, allocations: 1.722 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.4124, allocations: 1.625 MB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.4125, allocations: 1.375 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.4129, allocations: 37.39 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.4132, allocations: 103 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.4135, allocations: 78.92 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.4137, allocations: 102.4 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.4138, allocations: 18.86 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.4139, allocations: 45.66 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.4141, allocations: 49.45 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.4141, allocations: 5.5 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.4144, allocations: 107 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.4144, allocations: 16.05 kB / 0.5345 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.4145, allocations: 43.97 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.4148, allocations: 170.8 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4148, allocations: 0 / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4149, allocations: 1.531 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.4149, allocations: 0 / 0.5347 GB, free: 10.23 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.0006307/0.4155, allocations: 425.1 kB / 0.5351 GB, free: 9.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4155, allocations: 10 kB / 0.5351 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.4156, allocations: 32.09 kB / 0.5352 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.4156, allocations: 13 kB / 0.5352 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.416, allocations: 228.1 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.416, allocations: 5.031 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.416, allocations: 2.75 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.4162, allocations: 70.55 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4162, allocations: 0 / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4162, allocations: 1.344 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4163, allocations: 0 / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.624e-05/0.4163, allocations: 19.45 kB / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.4167, allocations: 297.2 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.4169, allocations: 53.34 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.417, allocations: 21.59 kB / 0.5359 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.417, allocations: 1.188 kB / 0.5359 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.4172, allocations: 72.95 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.4172, allocations: 0 / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005997/0.4178, allocations: 177.7 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.4179, allocations: 90.14 kB / 0.5362 GB, free: 8.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.4181, allocations: 161.6 kB / 0.5363 GB, free: 8.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.4181, allocations: 30.73 kB / 0.5364 GB, free: 8.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.4182, allocations: 96.66 kB / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.4182, allocations: 26.94 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.4183, allocations: 29.17 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4185, allocations: 321.8 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-05/0.4185, allocations: 19.23 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.4186, allocations: 40.69 kB / 0.5369 GB, free: 8.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.4187, allocations: 63.77 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4187, allocations: 4.031 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.4189, allocations: 91.27 kB / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.419, allocations: 5.156 kB / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.419, allocations: 1.125 kB / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.419, allocations: 3.984 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.912e-05/0.4191, allocations: 25.91 kB / 0.5371 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4191, allocations: 1.312 kB / 0.5371 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.4192, allocations: 1.312 kB / 0.5371 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.4192, allocations: 2.938 kB / 0.5371 GB, free: 7.977 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.0001238/0.4193, allocations: 128.7 kB / 0.5372 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.4194, allocations: 9.141 kB / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.4194, allocations: 12.34 kB / 0.5372 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.4194, allocations: 5.281 kB / 0.5372 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4194, allocations: 0 / 0.5372 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4194, allocations: 5.484 kB / 0.5372 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.42, allocations: 395.2 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.42, allocations: 13.19 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.42, allocations: 8.312 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.42, allocations: 1.25 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4201, allocations: 1.062 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.4201, allocations: 5.094 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4201, allocations: 5.438 kB / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.4203, allocations: 207.5 kB / 0.5378 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.4204, allocations: 95.92 kB / 0.5379 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.4205, allocations: 6.156 kB / 0.5379 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.4205, allocations: 1.344 kB / 0.5379 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.4206, allocations: 7.391 kB / 0.5379 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.4206, allocations: 3.656 kB / 0.5379 GB, free: 7.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.4207, allocations: 127.8 kB / 0.5381 GB, free: 7.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4207, allocations: 0 / 0.5381 GB, free: 7.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003263/0.4211, allocations: 49.95 kB / 0.5381 GB, free: 7.008 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.002493/0.4236, allocations: 1.18 MB / 0.5393 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.4238, allocations: 69.59 kB / 0.5393 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4238, allocations: 1.25 kB / 0.5393 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.4239, allocations: 24.73 kB / 0.5394 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.4243, allocations: 40.17 kB / 0.5394 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.4262, allocations: 1.587 MB / 0.5409 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.4266, allocations: 0.703 MB / 0.5416 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.493e-05/0.4267, allocations: 20.22 kB / 0.5416 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.688e-05/0.4268, allocations: 37.06 kB / 0.5417 GB, free: 3.875 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4268, allocations: 4 kB / 0.5417 GB, free: 3.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.4548, allocations: 4.006 MB / 0.5456 GB, free: 1.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.452, allocations: 13.81 kB / 0.5456 GB, free: 1.641 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches