Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.001745/0.001745, allocations: 113.2 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.002128/0.002128, allocations: 214.7 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2269/0.2269, allocations: 46.94 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.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.89 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.341, allocations: 66.03 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003358/0.3443, allocations: 1.632 MB / 0.5623 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3455, allocations: 0.5699 MB / 0.5628 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.983e-05/0.3456, allocations: 0 / 0.5628 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.3458, allocations: 79.7 kB / 0.5629 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.3462, allocations: 107.6 kB / 0.563 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.3465, allocations: 107.7 kB / 0.5631 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.3467, allocations: 83.75 kB / 0.5632 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3468, allocations: 17.81 kB / 0.5632 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.65e-05/0.3469, allocations: 35.91 kB / 0.5632 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.347, allocations: 71.67 kB / 0.5633 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.347, allocations: 4 kB / 0.5633 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.3471, allocations: 47.98 kB / 0.5634 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.3472, allocations: 23.91 kB / 0.5634 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.3472, allocations: 27.75 kB / 0.5634 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.3474, allocations: 107.5 kB / 0.5635 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3475, allocations: 0 / 0.5635 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3475, allocations: 0 / 0.5635 GB, free: 1.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.3475, allocations: 3.984 kB / 0.5635 GB, free: 1.547 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.0004829/0.3479, allocations: 345.5 kB / 0.5638 GB, free: 1.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.348, allocations: 12.03 kB / 0.5638 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.348, allocations: 30.75 kB / 0.5639 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.3481, allocations: 12.84 kB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3483, allocations: 151 kB / 0.564 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3483, allocations: 4.375 kB / 0.564 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3483, allocations: 384 / 0.564 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.3485, allocations: 61.61 kB / 0.5641 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3485, allocations: 0 / 0.5641 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.3485, allocations: 4 kB / 0.5641 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.3485, allocations: 0 / 0.5641 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.3486, allocations: 31.91 kB / 0.5641 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.349, allocations: 267.9 kB / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.3492, allocations: 42.56 kB / 0.5644 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.3492, allocations: 28.88 kB / 0.5645 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3492, allocations: 3.938 kB / 0.5645 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3493, allocations: 30.56 kB / 0.5645 GB, free: 416 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3493, allocations: 0 / 0.5645 GB, free: 416 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009356/0.3502, allocations: 257.5 kB / 0.5647 GB, free: 152 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3502, allocations: 51.41 kB / 0.5648 GB, free: 88 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.3505, allocations: 214.2 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.3505, allocations: 29.7 kB / 0.565 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.3506, allocations: 108.1 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.3506, allocations: 23.75 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.3507, allocations: 25.7 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3508, allocations: 330.8 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-05/0.3509, allocations: 23.98 kB / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-05/0.351, allocations: 31.97 kB / 0.5655 GB, free: 15.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.3511, allocations: 76.77 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3511, allocations: 3.938 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002204/0.3514, allocations: 105.6 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3514, allocations: 15.98 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.3514, allocations: 0 / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3514, allocations: 0 / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3515, allocations: 23.98 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3515, allocations: 3.938 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.3516, allocations: 4 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.3516, allocations: 0 / 0.5658 GB, free: 15.04 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.0001111/0.3517, allocations: 133.8 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.3517, allocations: 15.91 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.352, allocations: 127 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.352, allocations: 4 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.352, allocations: 3.938 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.352, allocations: 0 / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/0.3526, allocations: 394.3 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3526, allocations: 4 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.345e-05/0.3527, allocations: 23.88 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3527, allocations: 3.984 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3527, allocations: 4 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3527, allocations: 480 / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3527, allocations: 0 / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.353, allocations: 212.3 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.353, allocations: 15.84 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.353, allocations: 7.984 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.3531, allocations: 0 / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.3531, allocations: 11.98 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.3532, allocations: 4 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.3534, allocations: 168.2 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3534, allocations: 3.938 kB / 0.5668 GB, free: 13.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.3536, allocations: 23.94 kB / 0.5669 GB, free: 13.81 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.002301/0.3559, allocations: 1.095 MB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.3562, allocations: 75.88 kB / 0.568 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3562, allocations: 0 / 0.568 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.91e-05/0.3563, allocations: 43.97 kB / 0.5681 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.0003806/0.3567, allocations: 15.98 kB / 0.5681 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.3592, allocations: 1.716 MB / 0.5697 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.3596, allocations: 0.7158 MB / 0.5704 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.231e-05/0.3597, allocations: 20.95 kB / 0.5705 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.3598, allocations: 31.42 kB / 0.5705 GB, free: 10.15 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3598, allocations: 3.938 kB / 0.5705 GB, free: 10.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.3907, allocations: 3.349 MB / 0.5738 GB, free: 6.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.53, allocations: 11.52 kB / 0.5738 GB, free: 6.852 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.561108922120184]