Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001259/0.001259, 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.001488/0.001488, allocations: 203.6 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.75 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.2326/0.2326, allocations: 46.96 MB / 360.9 MB, free: 4.145 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.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.84 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3035, allocations: 66.03 MB / 0.5606 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003448/0.307, allocations: 1.617 MB / 0.5622 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3081, allocations: 0.5349 MB / 0.5627 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.3082, allocations: 0 / 0.5627 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.3085, allocations: 75.7 kB / 0.5628 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.3088, allocations: 107.6 kB / 0.5629 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.3091, allocations: 123.2 kB / 0.563 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.3093, allocations: 79.77 kB / 0.5631 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3094, allocations: 22.08 kB / 0.5631 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.3095, allocations: 35.91 kB / 0.5631 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3096, allocations: 59.81 kB / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3096, allocations: 0 / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.3097, allocations: 51.92 kB / 0.5632 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.3098, allocations: 27.84 kB / 0.5633 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.3099, allocations: 19.81 kB / 0.5633 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.3101, allocations: 115.5 kB / 0.5634 GB, free: 1.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3101, allocations: 0 / 0.5634 GB, free: 1.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3101, allocations: 0 / 0.5634 GB, free: 1.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3101, allocations: 0 / 0.5634 GB, free: 1.535 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.0006372/0.3108, allocations: 341.6 kB / 0.5637 GB, free: 1.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.3108, allocations: 8.031 kB / 0.5637 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.3108, allocations: 30.75 kB / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.3109, allocations: 16.84 kB / 0.5638 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.3111, allocations: 154.9 kB / 0.5639 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3111, allocations: 384 / 0.5639 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.3112, allocations: 12.38 kB / 0.5639 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3113, allocations: 49.62 kB / 0.564 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3113, allocations: 0 / 0.564 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3114, allocations: 4 kB / 0.564 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3114, allocations: 4 kB / 0.564 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.3115, allocations: 27.97 kB / 0.564 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.312, allocations: 267.8 kB / 0.5643 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.3121, allocations: 46.56 kB / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.545e-05/0.3122, allocations: 24.92 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.3122, allocations: 0 / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.3123, allocations: 34.56 kB / 0.5644 GB, free: 408 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3123, allocations: 0 / 0.5644 GB, free: 408 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009889/0.3133, allocations: 245.2 kB / 0.5646 GB, free: 156 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.3133, allocations: 55.41 kB / 0.5647 GB, free: 88 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.3136, allocations: 214.2 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3136, allocations: 25.7 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.756e-05/0.3137, allocations: 112.1 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.3137, allocations: 23.73 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.3137, allocations: 25.72 kB / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3139, allocations: 322.8 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.314, allocations: 31.97 kB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/0.3141, allocations: 24.06 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.3142, allocations: 88.89 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3142, allocations: 4 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002264/0.3145, allocations: 117.5 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3145, allocations: 4 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3145, allocations: 0 / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3145, allocations: 0 / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3146, allocations: 19.98 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3146, allocations: 3.938 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.3147, allocations: 15.92 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3147, allocations: 0 / 0.5656 GB, free: 15.03 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.000106/0.3148, allocations: 129.8 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.3148, allocations: 11.91 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.3151, allocations: 127 kB / 0.5659 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3151, allocations: 4 kB / 0.5659 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3151, allocations: 3.938 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3151, allocations: 0 / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.3157, allocations: 390.3 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3157, allocations: 0 / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.222e-05/0.3158, allocations: 23.92 kB / 0.5663 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.3158, allocations: 0 / 0.5663 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3158, allocations: 4 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3158, allocations: 0 / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3158, allocations: 4 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.316, allocations: 212.3 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.3161, allocations: 15.84 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.3161, allocations: 3.984 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.3162, allocations: 4 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.3162, allocations: 7.984 kB / 0.5665 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.3162, allocations: 8 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.3163, allocations: 160.2 kB / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3163, allocations: 0 / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.3166, allocations: 23.94 kB / 0.5667 GB, free: 13.82 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.00224/0.3188, allocations: 1.145 MB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003091/0.3192, allocations: 79.88 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3192, allocations: 4 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.274e-05/0.3192, allocations: 35.97 kB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3196, allocations: 18.02 kB / 0.568 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.3217, allocations: 1.72 MB / 0.5697 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.3218, allocations: 100.8 kB / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.877e-05/0.3219, allocations: 20.95 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.322, allocations: 31.42 kB / 0.5698 GB, free: 10.77 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.322, allocations: 0 / 0.5698 GB, free: 10.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.351, allocations: 3.765 MB / 0.5735 GB, free: 7.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.23, allocations: 2.234 kB / 0.5735 GB, free: 7.043 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.202761228982126]