Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001781/0.001781, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002192/0.002192, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 8 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.2551/0.2551, allocations: 46.92 MB / 361.6 MB, free: 4.266 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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 59.89 kB / 0.4969 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 66.03 MB / 0.5614 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003108/0.3499, allocations: 1.619 MB / 0.563 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.351, allocations: 0.5621 MB / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.351, allocations: 0 / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.3512, allocations: 15.86 kB / 0.5636 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.3514, allocations: 87.55 kB / 0.5637 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.3517, allocations: 107.7 kB / 0.5638 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.3519, allocations: 63.83 kB / 0.5638 GB, free: 2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.953e-05/0.352, allocations: 13.83 kB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.707e-05/0.352, allocations: 35.78 kB / 0.5639 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.3521, allocations: 23.86 kB / 0.5639 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.3521, allocations: 0 / 0.5639 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.506e-05/0.3522, allocations: 28 kB / 0.5639 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.3522, allocations: 19.92 kB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.3523, allocations: 19.86 kB / 0.564 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.3524, allocations: 87.59 kB / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3524, allocations: 0 / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3524, allocations: 0 / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.3524, allocations: 0 / 0.564 GB, free: 1.777 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.0004668/0.3529, allocations: 309.8 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3529, allocations: 16.02 kB / 0.5644 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.248e-05/0.353, allocations: 192 / 0.5644 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.266e-05/0.353, allocations: 30.75 kB / 0.5644 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.353, allocations: 8.891 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.3532, allocations: 130.4 kB / 0.5645 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3532, allocations: 8.375 kB / 0.5645 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.3532, allocations: 4.125 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.3534, allocations: 49.67 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3534, allocations: 4 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3534, allocations: 3.938 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.3534, allocations: 0 / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.608e-05/0.3535, allocations: 27.92 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.3539, allocations: 263.9 kB / 0.5649 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.3541, allocations: 46.55 kB / 0.5649 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.3541, allocations: 16.94 kB / 0.5649 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3541, allocations: 3.938 kB / 0.5649 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3542, allocations: 34.56 kB / 0.565 GB, free: 0.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.3542, allocations: 0 / 0.565 GB, free: 0.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005841/0.3547, allocations: 149.4 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3548, allocations: 55.41 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.355, allocations: 146.2 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.355, allocations: 25.7 kB / 0.5653 GB, free: 308 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.3551, allocations: 100.1 kB / 0.5654 GB, free: 204 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.3551, allocations: 19.86 kB / 0.5654 GB, free: 184 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.3551, allocations: 21.7 kB / 0.5654 GB, free: 156 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3553, allocations: 318.8 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.3554, allocations: 27.97 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.3555, allocations: 23.92 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.3556, allocations: 52.83 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3556, allocations: 0 / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002055/0.3558, allocations: 89.55 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.3558, allocations: 4 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3558, allocations: 4 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.3558, allocations: 0 / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.3559, allocations: 12 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3559, allocations: 3.984 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.356, allocations: 7.938 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.356, allocations: 4 kB / 0.566 GB, free: 15.6 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.0001052/0.3561, allocations: 117.8 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.3561, allocations: 11.94 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.3564, allocations: 106 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3564, allocations: 0 / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3564, allocations: 320 / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3564, allocations: 3.938 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.3569, allocations: 333.6 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3569, allocations: 4 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.923e-05/0.3569, allocations: 11.98 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3569, allocations: 4 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.3569, allocations: 3.938 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.357, allocations: 3.938 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.357, allocations: 4 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.3572, allocations: 179.5 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.3572, allocations: 7.953 kB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3572, allocations: 7.938 kB / 0.5667 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.3573, allocations: 7.984 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.3573, allocations: 0 / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3573, allocations: 4 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.419e-05/0.3574, allocations: 117.7 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3574, allocations: 4 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.3577, allocations: 15.94 kB / 0.5669 GB, free: 14.58 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.001989/0.3597, allocations: 1.019 MB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.36, allocations: 59.89 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.36, allocations: 3.938 kB / 0.5679 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.3601, allocations: 27.92 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.3604, allocations: 21.67 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.3622, allocations: 1.461 MB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.3625, allocations: 0.6885 MB / 0.5701 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.131e-05/0.3626, allocations: 23.77 kB / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.3626, allocations: 23.42 kB / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of SimCode: time 5.52e-07/0.3626, allocations: 0 / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.3845, allocations: 2.753 MB / 0.5728 GB, free: 8.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.62, allocations: 7.625 kB / 0.5728 GB, free: 8.598 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.807680550031364]