Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001837/0.001837, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002231/0.002231, allocations: 210.3 kB / 23.73 MB, free: 4.379 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2263/0.2263, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.88 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3263, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.004559/0.3309, allocations: 1.645 MB / 0.5622 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.3335, allocations: 1.263 MB / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.3337, allocations: 8 kB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.3339, allocations: 23.84 kB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.3344, allocations: 87.55 kB / 0.5636 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.3349, allocations: 171.4 kB / 0.5637 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.3351, allocations: 87.69 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3352, allocations: 17.81 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.3353, allocations: 31.86 kB / 0.5639 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3354, allocations: 35.83 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.3354, allocations: 8 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.3356, allocations: 99.88 kB / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.762e-05/0.3357, allocations: 15.92 kB / 0.564 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.3357, allocations: 23.88 kB / 0.564 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.3361, allocations: 155.4 kB / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3361, allocations: 0 / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3361, allocations: 0 / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3361, allocations: 4 kB / 0.5642 GB, free: 0.5469 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.0006602/0.3368, allocations: 353.5 kB / 0.5645 GB, free: 176 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3368, allocations: 8.031 kB / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.3368, allocations: 34.75 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.3369, allocations: 8.891 kB / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.3372, allocations: 142.3 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3372, allocations: 8.375 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.3372, allocations: 4.359 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.3374, allocations: 105 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3375, allocations: 4 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3375, allocations: 4 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3375, allocations: 0 / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.3376, allocations: 43.95 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.3381, allocations: 271.8 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.3383, allocations: 54.48 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.913e-05/0.3384, allocations: 24.94 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3384, allocations: 4 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.3384, allocations: 34.56 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3384, allocations: 0 / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008672/0.3393, allocations: 237.3 kB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.3393, allocations: 81.11 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.3395, allocations: 159.8 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3395, allocations: 25.7 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.3396, allocations: 100.1 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.3396, allocations: 27.78 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.3397, allocations: 21.72 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3398, allocations: 318.8 kB / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.34, allocations: 39.97 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.3401, allocations: 83.38 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.3403, allocations: 88.73 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3403, allocations: 3.938 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003093/0.3407, allocations: 125.6 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3407, allocations: 8 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3407, allocations: 4.031 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3407, allocations: 0 / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3408, allocations: 19.98 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3408, allocations: 320 / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.711e-05/0.3409, allocations: 11.92 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3409, allocations: 4 kB / 0.5665 GB, free: 13.91 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 (7): * Single equations (assignments): 7 * 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.0001059/0.341, allocations: 117.8 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.3411, allocations: 19.84 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.3414, allocations: 146.3 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3414, allocations: 0 / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3414, allocations: 0 / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.3414, allocations: 3.938 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005866/0.342, allocations: 373.5 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.342, allocations: 4 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.69e-05/0.3421, allocations: 19.98 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3421, allocations: 0 / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.3421, allocations: 12.2 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3421, allocations: 0 / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3421, allocations: 0 / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.3425, allocations: 215.4 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.3425, allocations: 15.94 kB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.3425, allocations: 11.88 kB / 0.5674 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3426, allocations: 15.92 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3427, allocations: 7.984 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.3427, allocations: 4 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.3428, allocations: 121.1 kB / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3428, allocations: 0 / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003212/0.3431, allocations: 47.8 kB / 0.5676 GB, free: 12.71 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 (7): * Single equations (assignments): 7 * 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.00241/0.3455, allocations: 1.187 MB / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.3458, allocations: 83.88 kB / 0.5689 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3458, allocations: 3.938 kB / 0.5689 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.346, allocations: 51.94 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.3463, allocations: 19 kB / 0.5689 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.3486, allocations: 1.659 MB / 0.5706 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.074e-05/0.3487, allocations: 91.73 kB / 0.5707 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.311e-05/0.3488, allocations: 24.7 kB / 0.5707 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.3489, allocations: 31.42 kB / 0.5707 GB, free: 9.664 MB / 414.1 MB Notification: Performance of SimCode: time 5.62e-07/0.3489, allocations: 4 kB / 0.5707 GB, free: 9.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.3809, allocations: 4.242 MB / 0.5748 GB, free: 5.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.41, allocations: 12 kB / 0.5749 GB, free: 5.441 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.388219215994468]