Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001921/0.001921, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001958/0.001958, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2404/0.2404, allocations: 46.93 MB / 361.7 MB, free: 4.258 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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 59.91 kB / 0.497 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.342, allocations: 66.03 MB / 0.5614 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003435/0.3454, allocations: 1.688 MB / 0.5631 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3466, allocations: 0.6088 MB / 0.5637 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.3467, allocations: 4 kB / 0.5637 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.3473, allocations: 447.2 kB / 0.5641 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005222/0.3478, allocations: 291.3 kB / 0.5644 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.3483, allocations: 183 kB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.3486, allocations: 179.6 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.3488, allocations: 22.19 kB / 0.5648 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.3489, allocations: 115.7 kB / 0.5649 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.3492, allocations: 255.5 kB / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.3492, allocations: 4 kB / 0.5651 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.3493, allocations: 47.98 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.3495, allocations: 87.62 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.3496, allocations: 111 kB / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.3499, allocations: 286.5 kB / 0.5656 GB, free: 168 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3499, allocations: 4 kB / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3499, allocations: 0 / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3499, allocations: 0 / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008219/0.3508, allocations: 0.6009 MB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3508, allocations: 8.031 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.671e-05/0.3508, allocations: 4.188 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.3509, allocations: 42.69 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.3509, allocations: 40.66 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.3512, allocations: 250.8 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-06/0.3512, allocations: 4.375 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.3512, allocations: 12.12 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3514, allocations: 65.55 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3514, allocations: 0 / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3514, allocations: 0 / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3514, allocations: 4 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.3516, allocations: 31.97 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.3521, allocations: 387.7 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.3523, allocations: 46.55 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.3523, allocations: 20.94 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.3523, allocations: 0 / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3524, allocations: 30.66 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3524, allocations: 3.938 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001051/0.3534, allocations: 336.4 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.3535, allocations: 55.41 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009077/0.3544, allocations: 0.8777 MB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3544, allocations: 29.7 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.3546, allocations: 220.1 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.3546, allocations: 31.73 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.3547, allocations: 21.72 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.3548, allocations: 362.8 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-05/0.3549, allocations: 31.98 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-05/0.355, allocations: 31.97 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.3552, allocations: 72.83 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3552, allocations: 0 / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002894/0.3555, allocations: 157.5 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3555, allocations: 4 kB / 0.5693 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3555, allocations: 80 / 0.5693 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.3555, allocations: 7.938 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.3557, allocations: 15.98 kB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3557, allocations: 3.984 kB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.3557, allocations: 8 kB / 0.5693 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3558, allocations: 7.938 kB / 0.5693 GB, free: 12.18 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.0002118/0.356, allocations: 213.8 kB / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.44e-05/0.356, allocations: 43.72 kB / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.3564, allocations: 181.4 kB / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3564, allocations: 11.94 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.3564, allocations: 4 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3565, allocations: 0 / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007311/0.3572, allocations: 0.4943 MB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.3572, allocations: 4 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.3573, allocations: 15.98 kB / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3573, allocations: 0 / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3573, allocations: 11.97 kB / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3573, allocations: 0 / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3573, allocations: 0 / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.3576, allocations: 252 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.3577, allocations: 43.67 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.3577, allocations: 0 / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.3578, allocations: 11.98 kB / 0.5706 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.3578, allocations: 4 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.3578, allocations: 4 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006607/0.3585, allocations: 0.6628 MB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3585, allocations: 0 / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.3588, allocations: 31.98 kB / 0.5712 GB, free: 10.11 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.002267/0.361, allocations: 1.137 MB / 0.5724 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.3613, allocations: 83.84 kB / 0.5724 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3613, allocations: 0 / 0.5724 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.844e-05/0.3614, allocations: 35.98 kB / 0.5725 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.3618, allocations: 27.8 kB / 0.5725 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.366, allocations: 3.403 MB / 0.5758 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.3665, allocations: 0.8304 MB / 0.5766 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.649e-05/0.3666, allocations: 24.72 kB / 0.5767 GB, free: 4.609 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.3668, allocations: 119.4 kB / 0.5768 GB, free: 4.492 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3668, allocations: 0 / 0.5768 GB, free: 4.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03183/0.3986, allocations: 6.685 MB / 0.5833 GB, free: 13.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.25, allocations: 7.031 kB / 0.5833 GB, free: 13.89 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.440182498015929]