Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.00124/0.00124, 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.00146/0.00146, allocations: 216.8 kB / 24.52 MB, free: 3.914 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.228/0.228, allocations: 46.96 MB / 361.7 MB, free: 4.016 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.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 59.91 kB / 0.4969 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3321, allocations: 66.04 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003399/0.3355, allocations: 1.588 MB / 0.5629 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3366, allocations: 0.5309 MB / 0.5634 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.3367, allocations: 4 kB / 0.5634 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.3369, allocations: 27.8 kB / 0.5635 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.3372, allocations: 75.67 kB / 0.5635 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.3376, allocations: 119.6 kB / 0.5637 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.3377, allocations: 63.84 kB / 0.5637 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3378, allocations: 17.81 kB / 0.5637 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.364e-05/0.3379, allocations: 27.84 kB / 0.5638 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.338, allocations: 19.88 kB / 0.5638 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.338, allocations: 0 / 0.5638 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.3381, allocations: 31.98 kB / 0.5638 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.714e-05/0.3381, allocations: 23.91 kB / 0.5638 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.3382, allocations: 19.81 kB / 0.5639 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.3384, allocations: 87.59 kB / 0.5639 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3384, allocations: 0 / 0.5639 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3384, allocations: 0 / 0.5639 GB, free: 1.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.3384, allocations: 0 / 0.5639 GB, free: 1.57 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.0005295/0.3389, allocations: 317.8 kB / 0.5642 GB, free: 1.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.339, allocations: 12.03 kB / 0.5643 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.921e-05/0.339, allocations: 4.188 kB / 0.5643 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.012e-05/0.339, allocations: 30.75 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.3391, allocations: 12.84 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.3393, allocations: 142.9 kB / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3393, allocations: 7.875 kB / 0.5644 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3393, allocations: 4 kB / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.3395, allocations: 57.61 kB / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3395, allocations: 0 / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3395, allocations: 4 kB / 0.5645 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3395, allocations: 0 / 0.5645 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.3396, allocations: 23.97 kB / 0.5645 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.3401, allocations: 248 kB / 0.5648 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.3403, allocations: 54.47 kB / 0.5648 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.3404, allocations: 12.86 kB / 0.5648 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.3404, allocations: 0 / 0.5648 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3404, allocations: 30.56 kB / 0.5649 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.3404, allocations: 8 kB / 0.5649 GB, free: 500 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006522/0.3411, allocations: 153.5 kB / 0.565 GB, free: 340 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.3411, allocations: 55.34 kB / 0.5651 GB, free: 272 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.3413, allocations: 182.1 kB / 0.5652 GB, free: 76 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3413, allocations: 25.7 kB / 0.5653 GB, free: 44 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3414, allocations: 100.1 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.3415, allocations: 15.89 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.3415, allocations: 17.72 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3417, allocations: 322.8 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.979e-05/0.3418, allocations: 24.05 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.3418, allocations: 19.98 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.342, allocations: 60.75 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.342, allocations: 0 / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002053/0.3422, allocations: 89.58 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3422, allocations: 8 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.3422, allocations: 0 / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3422, allocations: 0 / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.3423, allocations: 15.98 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3423, allocations: 3.938 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.3424, allocations: 7.984 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3424, allocations: 0 / 0.5659 GB, free: 15.34 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 0.0001167/0.3425, allocations: 125.8 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.3425, allocations: 11.89 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.3428, allocations: 102 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3428, allocations: 0 / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3428, allocations: 3.938 kB / 0.5661 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3428, allocations: 0 / 0.5661 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005239/0.3433, allocations: 329.6 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3433, allocations: 320 / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.503e-05/0.3434, allocations: 19.98 kB / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.3434, allocations: 3.938 kB / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3434, allocations: 4 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3434, allocations: 3.938 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3434, allocations: 0 / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.3437, allocations: 183.5 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.3437, allocations: 15.84 kB / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3437, allocations: 3.938 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.3438, allocations: 7.984 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.3438, allocations: 4 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3438, allocations: 0 / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.3439, allocations: 139.2 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3439, allocations: 4 kB / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.3442, allocations: 15.94 kB / 0.5669 GB, free: 14.3 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.002042/0.3462, allocations: 1.043 MB / 0.5679 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.3464, allocations: 55.91 kB / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3464, allocations: 0 / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.3465, allocations: 31.97 kB / 0.568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.347, allocations: 12 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.349, allocations: 1.517 MB / 0.5694 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.17e-05/0.3491, allocations: 89.47 kB / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.3491, allocations: 16.05 kB / 0.5695 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.3492, allocations: 27.42 kB / 0.5696 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3492, allocations: 0 / 0.5696 GB, free: 11.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.3743, allocations: 2.922 MB / 0.5724 GB, free: 8.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.73, allocations: 9.562 kB / 0.5724 GB, free: 8.699 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.813416586024687]