Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001851/0.001851, 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.00149/0.00149, allocations: 201 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.423/1.423, allocations: 230.6 MB / 257.5 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.2358/0.2358, allocations: 46.95 MB / 360.9 MB, free: 4.004 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.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3403, allocations: 66.03 MB / 0.5606 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003184/0.3435, allocations: 1.593 MB / 0.5622 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3454, allocations: 1.244 MB / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.3455, allocations: 0 / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.3457, allocations: 23.86 kB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.346, allocations: 91.55 kB / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.3463, allocations: 115.1 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.3465, allocations: 71.77 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.317e-05/0.3466, allocations: 9.828 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.728e-05/0.3466, allocations: 35.84 kB / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.3467, allocations: 27.86 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.3468, allocations: 4 kB / 0.5637 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.3469, allocations: 95.88 kB / 0.5638 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.347, allocations: 15.92 kB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.347, allocations: 15.92 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.3473, allocations: 147.5 kB / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3473, allocations: 0 / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3473, allocations: 0 / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.3473, allocations: 0 / 0.564 GB, free: 0.6875 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.0004821/0.3478, allocations: 325.7 kB / 0.5643 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3478, allocations: 15.97 kB / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.3478, allocations: 34.73 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.3479, allocations: 8.891 kB / 0.5644 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3481, allocations: 142.3 kB / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.3481, allocations: 4.375 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.3481, allocations: 384 / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3483, allocations: 93.23 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3483, allocations: 4 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.3483, allocations: 0 / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3483, allocations: 0 / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.576e-05/0.3484, allocations: 27.92 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.3488, allocations: 248 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.349, allocations: 50.55 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.3491, allocations: 8.859 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.3491, allocations: 4 kB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.3491, allocations: 42.58 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3491, allocations: 0 / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005753/0.3497, allocations: 145.4 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.3497, allocations: 85.09 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3499, allocations: 148.5 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3499, allocations: 25.7 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.35, allocations: 96.08 kB / 0.5654 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.35, allocations: 15.84 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.3501, allocations: 21.72 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3502, allocations: 322.8 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.3503, allocations: 23.98 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.3504, allocations: 63.47 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3505, allocations: 60.75 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3505, allocations: 0 / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002028/0.3507, allocations: 85.56 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3508, allocations: 4 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3508, allocations: 4 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3508, allocations: 4.031 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.3508, allocations: 11.98 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3508, allocations: 3.938 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.3509, allocations: 7.984 kB / 0.566 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.3509, allocations: 7.938 kB / 0.5661 GB, free: 14.36 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 9.185e-05/0.351, allocations: 113.8 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.351, allocations: 7.953 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.3513, allocations: 97.98 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3513, allocations: 4 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3513, allocations: 4 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3513, allocations: 0 / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.3518, allocations: 321.6 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3518, allocations: 0 / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.3518, allocations: 12.3 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3518, allocations: 4 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3518, allocations: 7.938 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3519, allocations: 3.938 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3519, allocations: 4 kB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.3521, allocations: 183.8 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.3521, allocations: 7.953 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.3521, allocations: 0 / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.169e-05/0.3522, allocations: 11.92 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.3523, allocations: 7.984 kB / 0.5668 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.3523, allocations: 4 kB / 0.5668 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.3524, allocations: 111.2 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3524, allocations: 4 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.3526, allocations: 43.86 kB / 0.567 GB, free: 13.33 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.002277/0.3549, allocations: 1.139 MB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3551, allocations: 47.95 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3551, allocations: 4 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/0.3552, allocations: 27.92 kB / 0.5682 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3556, allocations: 26.02 kB / 0.5682 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.3574, allocations: 1.448 MB / 0.5696 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.942e-05/0.3574, allocations: 79.06 kB / 0.5697 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.74e-05/0.3575, allocations: 28 kB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.3576, allocations: 27.42 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3576, allocations: 0 / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.3889, allocations: 3.888 MB / 0.5735 GB, free: 6.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.32, allocations: 6.594 kB / 0.5735 GB, free: 6.75 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.204054150992306]