Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 216.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.249/0.249, allocations: 46.96 MB / 361.7 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.91 kB / 0.4969 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4085, allocations: 66.04 MB / 0.5614 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003402/0.4119, allocations: 1.612 MB / 0.563 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.413, allocations: 0.5349 MB / 0.5635 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.413, allocations: 0 / 0.5635 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.4133, allocations: 71.77 kB / 0.5635 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.4136, allocations: 99.59 kB / 0.5636 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.4139, allocations: 123.2 kB / 0.5638 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.4141, allocations: 87.73 kB / 0.5638 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.802e-05/0.4142, allocations: 9.828 kB / 0.5638 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.4142, allocations: 35.89 kB / 0.5639 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.4144, allocations: 59.77 kB / 0.5639 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.4144, allocations: 0 / 0.5639 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.4145, allocations: 51.97 kB / 0.564 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.4145, allocations: 19.92 kB / 0.564 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.4146, allocations: 23.75 kB / 0.564 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.4148, allocations: 111.5 kB / 0.5641 GB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.4148, allocations: 0 / 0.5641 GB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4148, allocations: 0 / 0.5641 GB, free: 1.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.4148, allocations: 0 / 0.5641 GB, free: 1.438 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005619/0.4154, allocations: 329.7 kB / 0.5645 GB, free: 1.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4154, allocations: 8.031 kB / 0.5645 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.576e-05/0.4154, allocations: 4.188 kB / 0.5645 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.4155, allocations: 34.75 kB / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.4155, allocations: 16.83 kB / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.4157, allocations: 150.2 kB / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4157, allocations: 8.375 kB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.4158, allocations: 8.125 kB / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.4159, allocations: 53.67 kB / 0.5647 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4159, allocations: 0 / 0.5647 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-06/0.4159, allocations: 3.938 kB / 0.5647 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4159, allocations: 0 / 0.5647 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.416, allocations: 27.98 kB / 0.5648 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.4165, allocations: 275.8 kB / 0.565 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.4166, allocations: 42.56 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.4167, allocations: 24.94 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.4167, allocations: 0 / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.4167, allocations: 30.56 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.4167, allocations: 0 / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009423/0.4177, allocations: 241.2 kB / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.4178, allocations: 55.55 kB / 0.5654 GB, free: 16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.418, allocations: 203.2 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.418, allocations: 25.7 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.4181, allocations: 108.1 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.4181, allocations: 31.73 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.4182, allocations: 17.72 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4184, allocations: 322.8 kB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.4184, allocations: 27.98 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.4185, allocations: 35.97 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.4188, allocations: 84.81 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4188, allocations: 0 / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002829/0.4191, allocations: 109.5 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4191, allocations: 4 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4191, allocations: 4 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4191, allocations: 0 / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.4192, allocations: 23.98 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4192, allocations: 8.25 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.326e-05/0.4193, allocations: 4 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.4193, allocations: 0 / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001151/0.4194, allocations: 129.8 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.4194, allocations: 11.91 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.4198, allocations: 138.9 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4198, allocations: 432 / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4198, allocations: 3.938 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4198, allocations: 4 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006545/0.4204, allocations: 378.4 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4205, allocations: 0 / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.4205, allocations: 23.92 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.4205, allocations: 3.984 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.4205, allocations: 0 / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4205, allocations: 4 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4205, allocations: 0 / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.4209, allocations: 224.2 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.4209, allocations: 11.89 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.4209, allocations: 0 / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.421, allocations: 8 kB / 0.5673 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.421, allocations: 7.984 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.421, allocations: 4 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.4212, allocations: 153.8 kB / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4212, allocations: 0 / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.4214, allocations: 23.94 kB / 0.5674 GB, free: 13.75 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002412/0.4239, allocations: 1.145 MB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.4241, allocations: 71.95 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4241, allocations: 0 / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.4242, allocations: 48.05 kB / 0.5687 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.4246, allocations: 19.8 kB / 0.5687 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.4267, allocations: 1.679 MB / 0.5703 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.4268, allocations: 88.19 kB / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.007e-05/0.4269, allocations: 16.66 kB / 0.5704 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.427, allocations: 39.42 kB / 0.5705 GB, free: 10.74 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.427, allocations: 0 / 0.5705 GB, free: 10.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.4503, allocations: 3.341 MB / 0.5737 GB, free: 7.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.95, allocations: 18.08 kB / 0.5737 GB, free: 7.445 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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: 15.226679977960885]