Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001952/0.001952, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00204/0.00204, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2357/0.2357, allocations: 46.94 MB / 361.7 MB, free: 4.25 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.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 71.89 kB / 0.497 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3377, allocations: 66.03 MB / 0.5614 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003064/0.3407, allocations: 1.649 MB / 0.563 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3419, allocations: 0.566 MB / 0.5636 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.3419, allocations: 0 / 0.5636 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.3423, allocations: 79.77 kB / 0.5637 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.3426, allocations: 99.59 kB / 0.5638 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.3429, allocations: 115.7 kB / 0.5639 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.3431, allocations: 83.77 kB / 0.564 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3432, allocations: 15.98 kB / 0.564 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.3433, allocations: 35.84 kB / 0.564 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3435, allocations: 59.8 kB / 0.5641 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3435, allocations: 4 kB / 0.5641 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.3436, allocations: 43.98 kB / 0.5641 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.3437, allocations: 31.86 kB / 0.5641 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.3437, allocations: 31.73 kB / 0.5642 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.344, allocations: 119.4 kB / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.344, allocations: 0 / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.344, allocations: 0 / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.344, allocations: 0 / 0.5643 GB, free: 1.555 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.0005676/0.3446, allocations: 333.6 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3447, allocations: 15.97 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.146e-05/0.3447, allocations: 192 / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.3447, allocations: 34.73 kB / 0.5646 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.3448, allocations: 16.84 kB / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.3449, allocations: 143 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.345, allocations: 384 / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.345, allocations: 12.12 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3451, allocations: 57.59 kB / 0.5649 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3452, allocations: 0 / 0.5649 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3452, allocations: 4 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3452, allocations: 0 / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.3453, allocations: 27.97 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.3457, allocations: 267.9 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.3459, allocations: 54.48 kB / 0.5652 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/0.3459, allocations: 16.86 kB / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.3459, allocations: 96 / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.346, allocations: 38.55 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.346, allocations: 7.938 kB / 0.5653 GB, free: 420 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009431/0.3469, allocations: 237.2 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.347, allocations: 55.42 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.3472, allocations: 210.3 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3473, allocations: 25.7 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.3474, allocations: 116.1 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.3474, allocations: 31.73 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.3474, allocations: 17.72 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3476, allocations: 322.8 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.45e-05/0.3477, allocations: 39.91 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.012e-05/0.3478, allocations: 36.05 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.348, allocations: 76.81 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.348, allocations: 0 / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002291/0.3482, allocations: 105.6 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3482, allocations: 7.938 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3482, allocations: 0 / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3482, allocations: 0 / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3484, allocations: 23.92 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3484, allocations: 7.938 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.3484, allocations: 4 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3484, allocations: 7.984 kB / 0.5665 GB, free: 15.05 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.0001018/0.3485, allocations: 121.8 kB / 0.5666 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.3486, allocations: 12.33 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.3489, allocations: 135 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3489, allocations: 4 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.3489, allocations: 11.92 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3489, allocations: 0 / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.3495, allocations: 394.3 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3495, allocations: 3.938 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.3496, allocations: 15.98 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3496, allocations: 4 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3496, allocations: 4 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3496, allocations: 4.031 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3496, allocations: 0 / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.3499, allocations: 216.6 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.3499, allocations: 11.84 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.3499, allocations: 4 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.35, allocations: 8 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.35, allocations: 3.984 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.3501, allocations: 8 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.3502, allocations: 164.2 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3502, allocations: 0 / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.3505, allocations: 27.86 kB / 0.5676 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.002308/0.3528, allocations: 1.106 MB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.353, allocations: 71.94 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.353, allocations: 0 / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.3531, allocations: 43.91 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.3535, allocations: 23.58 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.3557, allocations: 1.72 MB / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.356, allocations: 0.7119 MB / 0.5712 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.107e-05/0.3561, allocations: 20.95 kB / 0.5712 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.3562, allocations: 39.42 kB / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3562, allocations: 0 / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.3786, allocations: 3.367 MB / 0.5746 GB, free: 6.852 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.63, allocations: 15.19 kB / 0.5746 GB, free: 6.84 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.80964082601713]