Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001333/0.001333, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001563/0.001563, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2502/0.2502, allocations: 46.92 MB / 360.9 MB, free: 4.27 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.89 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 66.03 MB / 0.5607 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003229/0.3442, allocations: 1.619 MB / 0.5622 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3453, allocations: 0.5581 MB / 0.5628 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.3453, allocations: 4 kB / 0.5628 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.3455, allocations: 27.84 kB / 0.5628 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.3458, allocations: 79.62 kB / 0.5629 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.3461, allocations: 107.1 kB / 0.563 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3463, allocations: 67.81 kB / 0.5631 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.434e-05/0.3463, allocations: 9.828 kB / 0.5631 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.269e-05/0.3464, allocations: 31.8 kB / 0.5631 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.853e-05/0.3465, allocations: 19.86 kB / 0.5631 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.3465, allocations: 4 kB / 0.5631 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.842e-05/0.3466, allocations: 35.98 kB / 0.5632 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.3466, allocations: 15.92 kB / 0.5632 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.3466, allocations: 19.88 kB / 0.5632 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.3468, allocations: 87.58 kB / 0.5633 GB, free: 1.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3468, allocations: 4 kB / 0.5633 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3468, allocations: 0 / 0.5633 GB, free: 1.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3468, allocations: 0 / 0.5633 GB, free: 1.797 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004488/0.3473, allocations: 305.8 kB / 0.5636 GB, free: 1.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3473, allocations: 12.03 kB / 0.5636 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.3474, allocations: 38.73 kB / 0.5636 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.3474, allocations: 12.89 kB / 0.5636 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.3476, allocations: 129.1 kB / 0.5638 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.3476, allocations: 4.359 kB / 0.5638 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3476, allocations: 4.375 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.3477, allocations: 49.61 kB / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3477, allocations: 4 kB / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3477, allocations: 4 kB / 0.5638 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3477, allocations: 3.938 kB / 0.5638 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.989e-05/0.3478, allocations: 23.92 kB / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.3482, allocations: 255.9 kB / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.3484, allocations: 46.55 kB / 0.5641 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.3485, allocations: 12.86 kB / 0.5641 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.3485, allocations: 4.078 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3485, allocations: 42.5 kB / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.3485, allocations: 0 / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005854/0.3491, allocations: 149.5 kB / 0.5643 GB, free: 0.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3492, allocations: 55.34 kB / 0.5644 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3493, allocations: 146.2 kB / 0.5645 GB, free: 368 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3493, allocations: 29.7 kB / 0.5645 GB, free: 332 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.3494, allocations: 108 kB / 0.5647 GB, free: 220 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.3494, allocations: 11.86 kB / 0.5647 GB, free: 208 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.3495, allocations: 21.7 kB / 0.5647 GB, free: 180 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3496, allocations: 322.8 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.3497, allocations: 19.98 kB / 0.565 GB, free: 15.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.3498, allocations: 23.97 kB / 0.565 GB, free: 15.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.3499, allocations: 61.02 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3499, allocations: 0 / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000192/0.3501, allocations: 89.55 kB / 0.5652 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3501, allocations: 4 kB / 0.5652 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3501, allocations: 0 / 0.5652 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3501, allocations: 4 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.3502, allocations: 8 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3502, allocations: 0 / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.3503, allocations: 11.98 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3503, allocations: 3.938 kB / 0.5652 GB, free: 15.62 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 (5): * Single equations (assignments): 5 * 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 8.991e-05/0.3504, allocations: 117.8 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.3504, allocations: 7.953 kB / 0.5653 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.3507, allocations: 97.98 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3507, allocations: 0 / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3507, allocations: 4 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3507, allocations: 4 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.3511, allocations: 325.6 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3511, allocations: 3.938 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.3512, allocations: 11.98 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3512, allocations: 4 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3512, allocations: 0 / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3512, allocations: 4.125 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3512, allocations: 7.938 kB / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3514, allocations: 187.5 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.3514, allocations: 3.953 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.3515, allocations: 4 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.3515, allocations: 7.922 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.3516, allocations: 4.281 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3516, allocations: 4 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.244e-05/0.3517, allocations: 121.5 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3517, allocations: 0 / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3519, allocations: 19.94 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00191/0.3538, allocations: 1.026 MB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.354, allocations: 47.95 kB / 0.5672 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.354, allocations: 0 / 0.5672 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.807e-05/0.3541, allocations: 31.86 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.3545, allocations: 24.27 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.3562, allocations: 1.465 MB / 0.5686 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.3565, allocations: 0.6924 MB / 0.5693 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.576e-05/0.3565, allocations: 19.83 kB / 0.5693 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.3566, allocations: 27.61 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3566, allocations: 0 / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.3833, allocations: 2.717 MB / 0.572 GB, free: 8.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.38, allocations: 10.75 kB / 0.572 GB, free: 8.637 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.437299469020218]