Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001526/0.001526, 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.001444/0.001444, 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.2345/0.2345, allocations: 46.94 MB / 361.6 MB, free: 4.375 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 63.91 kB / 0.4969 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3508, allocations: 66.04 MB / 0.5614 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.004047/0.3548, allocations: 1.609 MB / 0.563 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.356, allocations: 0.5581 MB / 0.5636 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.3561, allocations: 0 / 0.5636 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.3563, allocations: 23.8 kB / 0.5636 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.3566, allocations: 79.67 kB / 0.5637 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.357, allocations: 115.7 kB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.3572, allocations: 67.78 kB / 0.5638 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3573, allocations: 9.828 kB / 0.5638 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.011e-05/0.3573, allocations: 23.91 kB / 0.5639 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.033e-05/0.3574, allocations: 23.86 kB / 0.5639 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.3574, allocations: 0 / 0.5639 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.3575, allocations: 39.98 kB / 0.5639 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.3575, allocations: 11.94 kB / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.3576, allocations: 31.72 kB / 0.564 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.3578, allocations: 75.67 kB / 0.564 GB, free: 1.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3578, allocations: 0 / 0.564 GB, free: 1.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3578, allocations: 4 kB / 0.564 GB, free: 1.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.3578, allocations: 0 / 0.564 GB, free: 1.809 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.0005297/0.3583, allocations: 309.9 kB / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.3584, allocations: 8.031 kB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.034e-05/0.3584, allocations: 4.188 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.3584, allocations: 30.75 kB / 0.5644 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.3585, allocations: 12.89 kB / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.3587, allocations: 138.3 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3587, allocations: 8.312 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.3587, allocations: 4.125 kB / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.3589, allocations: 57.61 kB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3589, allocations: 0 / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3589, allocations: 0 / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3589, allocations: 4 kB / 0.5646 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.621e-05/0.359, allocations: 23.97 kB / 0.5646 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.3594, allocations: 255.9 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.3597, allocations: 42.5 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.3597, allocations: 20.94 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3597, allocations: 0 / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.3598, allocations: 30.56 kB / 0.5649 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3598, allocations: 0 / 0.5649 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006328/0.3604, allocations: 157.4 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.3605, allocations: 51.41 kB / 0.5651 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3606, allocations: 152 kB / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3606, allocations: 25.7 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.3607, allocations: 96.08 kB / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.3608, allocations: 23.84 kB / 0.5654 GB, free: 216 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.3608, allocations: 17.72 kB / 0.5654 GB, free: 192 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.361, allocations: 326.8 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.601e-05/0.3611, allocations: 15.98 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.3611, allocations: 27.92 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.3613, allocations: 48.83 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3613, allocations: 0 / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002035/0.3615, allocations: 93.61 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3615, allocations: 4 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.3615, allocations: 0 / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3615, allocations: 288 / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.3616, allocations: 16.23 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3616, allocations: 0 / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.3616, allocations: 11.94 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3616, allocations: 0 / 0.566 GB, free: 15.64 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.0001144/0.3618, allocations: 125.8 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.3618, allocations: 11.94 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.3621, allocations: 98 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3621, allocations: 0 / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3621, allocations: 0 / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3621, allocations: 7.922 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.3626, allocations: 337.6 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3626, allocations: 3.984 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.3626, allocations: 8 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3626, allocations: 0 / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3626, allocations: 3.938 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3626, allocations: 7.938 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3626, allocations: 0 / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.3629, allocations: 187.4 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.3629, allocations: 7.938 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.3629, allocations: 3.938 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.363, allocations: 8 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.363, allocations: 7.984 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.363, allocations: 0 / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.3631, allocations: 117.5 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3631, allocations: 0 / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.3634, allocations: 15.92 kB / 0.5669 GB, free: 14.61 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.00197/0.3654, allocations: 1.023 MB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.3656, allocations: 55.84 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3656, allocations: 4 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.378e-05/0.3657, allocations: 31.97 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.366, allocations: 12 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.3679, allocations: 1.461 MB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3682, allocations: 0.7002 MB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.406e-05/0.3683, allocations: 23.83 kB / 0.5701 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.3684, allocations: 23.42 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3684, allocations: 0 / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.3909, allocations: 2.761 MB / 0.5728 GB, free: 8.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.67, allocations: 0 / 0.5728 GB, free: 8.625 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.838209518988151]