Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001287/0.001287, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001482/0.001482, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 44.94 MB / 359.6 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002957/0.002957, allocations: 67.91 kB / 0.4938 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3435, allocations: 65.47 MB / 0.5578 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003166/0.3467, allocations: 1.61 MB / 0.5593 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3478, allocations: 0.5311 MB / 0.5598 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.3479, allocations: 0 / 0.5598 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.3482, allocations: 71.77 kB / 0.5599 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.3485, allocations: 103.6 kB / 0.56 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.3488, allocations: 115.7 kB / 0.5601 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.349, allocations: 83.75 kB / 0.5602 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3491, allocations: 13.81 kB / 0.5602 GB, free: 5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.157e-05/0.3492, allocations: 39.84 kB / 0.5603 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3493, allocations: 59.75 kB / 0.5603 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.3493, allocations: 0 / 0.5603 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.703e-05/0.3494, allocations: 47.98 kB / 0.5604 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.3495, allocations: 19.92 kB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.3495, allocations: 23.8 kB / 0.5604 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.3497, allocations: 115.5 kB / 0.5605 GB, free: 4.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3497, allocations: 0 / 0.5605 GB, free: 4.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3497, allocations: 0 / 0.5605 GB, free: 4.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3497, allocations: 0 / 0.5605 GB, free: 4.699 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.0004982/0.3502, allocations: 333.6 kB / 0.5608 GB, free: 4.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3502, allocations: 8.031 kB / 0.5608 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.606e-05/0.3503, allocations: 8.188 kB / 0.5608 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.3503, allocations: 30.75 kB / 0.5609 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.3503, allocations: 12.84 kB / 0.5609 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.3505, allocations: 142.3 kB / 0.561 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3505, allocations: 12.36 kB / 0.561 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.3506, allocations: 12.06 kB / 0.561 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3507, allocations: 49.69 kB / 0.5611 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3507, allocations: 0 / 0.5611 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3507, allocations: 4 kB / 0.5611 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3507, allocations: 0 / 0.5611 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3508, allocations: 31.95 kB / 0.5611 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.3512, allocations: 267.9 kB / 0.5614 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3514, allocations: 50.48 kB / 0.5614 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.3514, allocations: 24.94 kB / 0.5614 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.3514, allocations: 0 / 0.5614 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.3515, allocations: 30.56 kB / 0.5615 GB, free: 3.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3515, allocations: 4 kB / 0.5615 GB, free: 3.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009626/0.3524, allocations: 237.3 kB / 0.5617 GB, free: 3.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.3525, allocations: 59.33 kB / 0.5618 GB, free: 3.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.3527, allocations: 199.3 kB / 0.562 GB, free: 3.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.3527, allocations: 25.7 kB / 0.562 GB, free: 3.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.3528, allocations: 112 kB / 0.5621 GB, free: 2.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.3528, allocations: 27.75 kB / 0.5621 GB, free: 2.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.3529, allocations: 21.7 kB / 0.5621 GB, free: 2.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.353, allocations: 326.8 kB / 0.5624 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.3531, allocations: 23.98 kB / 0.5625 GB, free: 2.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.291e-05/0.3532, allocations: 31.97 kB / 0.5625 GB, free: 2.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3534, allocations: 76.83 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3534, allocations: 0 / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002511/0.3536, allocations: 117.5 kB / 0.5627 GB, free: 2.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3536, allocations: 4 kB / 0.5627 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3536, allocations: 3.938 kB / 0.5627 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3536, allocations: 0 / 0.5627 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3538, allocations: 23.92 kB / 0.5627 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.3538, allocations: 11.94 kB / 0.5627 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.3538, allocations: 4 kB / 0.5627 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3538, allocations: 0 / 0.5627 GB, free: 2.219 MB / 398.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.0001153/0.3539, allocations: 129.8 kB / 0.5629 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.354, allocations: 11.91 kB / 0.5629 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.3543, allocations: 139.2 kB / 0.563 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3543, allocations: 0 / 0.563 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3543, allocations: 3.938 kB / 0.563 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3543, allocations: 0 / 0.563 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005745/0.3549, allocations: 382.4 kB / 0.5634 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3549, allocations: 3.938 kB / 0.5634 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.602e-05/0.3549, allocations: 19.98 kB / 0.5634 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3549, allocations: 0 / 0.5634 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.355, allocations: 0 / 0.5634 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.355, allocations: 4 kB / 0.5634 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.355, allocations: 0 / 0.5634 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.3553, allocations: 220.2 kB / 0.5636 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.3553, allocations: 11.89 kB / 0.5636 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3553, allocations: 4 kB / 0.5636 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.3554, allocations: 4 kB / 0.5636 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.3554, allocations: 7.984 kB / 0.5636 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3554, allocations: 4 kB / 0.5636 GB, free: 1.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.3556, allocations: 153.8 kB / 0.5638 GB, free: 1.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3556, allocations: 0 / 0.5638 GB, free: 1.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.3558, allocations: 23.94 kB / 0.5638 GB, free: 1.023 MB / 398.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.002382/0.3582, allocations: 1.143 MB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.3585, allocations: 75.98 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3585, allocations: 0 / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.3586, allocations: 43.86 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.3589, allocations: 15.98 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.3611, allocations: 1.679 MB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.3612, allocations: 92.19 kB / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.795e-05/0.3613, allocations: 24.64 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.3614, allocations: 35.42 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3614, allocations: 0 / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.3855, allocations: 3.357 MB / 0.5701 GB, free: 10.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.93, allocations: 10.62 kB / 0.5701 GB, free: 10.7 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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: 15.132549085072242]