Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001642/0.001642, allocations: 212.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2457/0.2457, allocations: 46.93 MB / 360.8 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 179] 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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 79.86 kB / 0.4963 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4029, allocations: 66.09 MB / 0.5608 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003237/0.4062, allocations: 1.74 MB / 0.5625 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.408, allocations: 1.049 MB / 0.5635 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.4081, allocations: 0 / 0.5635 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.4083, allocations: 59.75 kB / 0.5636 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.4087, allocations: 99.53 kB / 0.5637 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.4088, allocations: 83.66 kB / 0.5638 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.4091, allocations: 103.8 kB / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.4092, allocations: 9.766 kB / 0.5639 GB, free: 1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.4093, allocations: 47.77 kB / 0.5639 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.4094, allocations: 35.8 kB / 0.5639 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.4094, allocations: 8 kB / 0.564 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.425e-05/0.4095, allocations: 39.98 kB / 0.564 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.767e-05/0.4095, allocations: 31.84 kB / 0.564 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.4096, allocations: 43.67 kB / 0.5641 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.4098, allocations: 143.4 kB / 0.5642 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4098, allocations: 0 / 0.5642 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4098, allocations: 0 / 0.5642 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.4098, allocations: 0 / 0.5642 GB, free: 0.6562 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.0005529/0.4104, allocations: 377.2 kB / 0.5646 GB, free: 264 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4104, allocations: 8.031 kB / 0.5646 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.4105, allocations: 46.73 kB / 0.5646 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.4105, allocations: 12.84 kB / 0.5646 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.4108, allocations: 170 kB / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.4108, allocations: 384 / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.4108, allocations: 4.375 kB / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.411, allocations: 61.8 kB / 0.5649 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.411, allocations: 0 / 0.5649 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.411, allocations: 0 / 0.5649 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.411, allocations: 7.938 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.378e-05/0.4111, allocations: 19.98 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.4114, allocations: 271.9 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.4116, allocations: 62.61 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.4117, allocations: 20.8 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.4117, allocations: 4 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.4119, allocations: 63.39 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.4119, allocations: 0 / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000535/0.4124, allocations: 189.2 kB / 0.5655 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.4124, allocations: 55.41 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.4127, allocations: 284.2 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.4128, allocations: 25.7 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.4129, allocations: 128.1 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.4129, allocations: 27.78 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.413, allocations: 21.72 kB / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4131, allocations: 330.8 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.176e-05/0.4132, allocations: 23.98 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.116e-05/0.4132, allocations: 33.7 kB / 0.5664 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.4134, allocations: 65.7 kB / 0.5664 GB, free: 14.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4134, allocations: 4 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.4136, allocations: 113.5 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4136, allocations: 4 kB / 0.5665 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4136, allocations: 0 / 0.5665 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4136, allocations: 0 / 0.5665 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.4137, allocations: 19.98 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4137, allocations: 0 / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.4137, allocations: 0 / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.4137, allocations: 8.031 kB / 0.5666 GB, free: 14.04 MB / 414.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.0001161/0.4139, allocations: 139.1 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.4139, allocations: 19.89 kB / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.4142, allocations: 119 kB / 0.5668 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4142, allocations: 0 / 0.5668 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4142, allocations: 384 / 0.5668 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4142, allocations: 4 kB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.4146, allocations: 382.3 kB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4146, allocations: 4 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.4147, allocations: 8 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4147, allocations: 4 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4147, allocations: 3.938 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4147, allocations: 3.938 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4147, allocations: 3.984 kB / 0.5672 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.415, allocations: 216.2 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.415, allocations: 15.86 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.415, allocations: 4 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.4151, allocations: 7.938 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.4151, allocations: 7.984 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.4152, allocations: 4 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.4154, allocations: 211.2 kB / 0.5677 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4154, allocations: 192 / 0.5677 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.4156, allocations: 27.94 kB / 0.5677 GB, free: 12.78 MB / 414.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.002228/0.4179, allocations: 1.088 MB / 0.5688 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.4181, allocations: 59.8 kB / 0.5688 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4181, allocations: 0 / 0.5688 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.4181, allocations: 27.92 kB / 0.5688 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.4185, allocations: 31.91 kB / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.4208, allocations: 1.882 MB / 0.5707 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.4212, allocations: 0.7158 MB / 0.5714 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.4213, allocations: 21.27 kB / 0.5714 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.4213, allocations: 47.41 kB / 0.5715 GB, free: 8.926 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4214, allocations: 0 / 0.5715 GB, free: 8.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.4524, allocations: 4.02 MB / 0.5754 GB, free: 4.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.43, allocations: 10.28 kB / 0.5754 GB, free: 4.941 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.674678961979225]