Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 207.6 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 46.92 MB / 361.6 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 83.86 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3283, allocations: 66.07 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003085/0.3314, allocations: 1.621 MB / 0.5631 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.3333, allocations: 1.274 MB / 0.5643 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.3334, allocations: 0 / 0.5643 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.3336, allocations: 27.84 kB / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.3339, allocations: 87.61 kB / 0.5644 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.3342, allocations: 114.9 kB / 0.5646 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.3343, allocations: 67.77 kB / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3344, allocations: 8 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.659e-05/0.3345, allocations: 27.92 kB / 0.5647 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3347, allocations: 39.83 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3347, allocations: 4 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.3349, allocations: 99.88 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.3349, allocations: 15.92 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.335, allocations: 23.86 kB / 0.5648 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.3352, allocations: 139.5 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3352, allocations: 3.984 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3352, allocations: 3.938 kB / 0.565 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.3353, allocations: 0 / 0.565 GB, free: 0.7656 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.0005366/0.3358, allocations: 329.6 kB / 0.5653 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3358, allocations: 12.03 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.25e-05/0.3358, allocations: 192 / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.3359, allocations: 34.75 kB / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.3359, allocations: 12.88 kB / 0.5653 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3361, allocations: 142.3 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3361, allocations: 384 / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3362, allocations: 384 / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3364, allocations: 75.7 kB / 0.5655 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3364, allocations: 0 / 0.5655 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3364, allocations: 3.938 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3364, allocations: 0 / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.3365, allocations: 23.98 kB / 0.5656 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.3369, allocations: 252 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.3371, allocations: 46.56 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.3372, allocations: 28.88 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.3372, allocations: 0 / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3372, allocations: 30.56 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.3372, allocations: 0 / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006177/0.3379, allocations: 153.4 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.3379, allocations: 81.11 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.3381, allocations: 147.8 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3381, allocations: 25.7 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.3382, allocations: 96.08 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.3382, allocations: 15.86 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.3383, allocations: 17.7 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3384, allocations: 326.8 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.64e-05/0.3385, allocations: 23.97 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.909e-05/0.3386, allocations: 29.7 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.3387, allocations: 52.83 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3387, allocations: 0 / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002105/0.3389, allocations: 97.58 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3389, allocations: 4 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3389, allocations: 0 / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3389, allocations: 3.938 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.339, allocations: 15.98 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.339, allocations: 0 / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.3391, allocations: 4 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3391, allocations: 4 kB / 0.567 GB, free: 14.5 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.0001014/0.3392, allocations: 127.1 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.3392, allocations: 11.89 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.3395, allocations: 98 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3395, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3395, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3395, allocations: 4.297 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.3399, allocations: 333.6 kB / 0.5675 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3399, allocations: 0 / 0.5675 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.34, allocations: 19.92 kB / 0.5675 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.34, allocations: 0 / 0.5675 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.34, allocations: 0 / 0.5675 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.34, allocations: 3.938 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.34, allocations: 0 / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.3403, allocations: 187.5 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.3403, allocations: 12.22 kB / 0.5677 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.3403, allocations: 0 / 0.5677 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.3404, allocations: 7.938 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.3404, allocations: 11.97 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.3404, allocations: 4 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.486e-05/0.3405, allocations: 109.6 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3405, allocations: 4 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.3408, allocations: 39.86 kB / 0.5679 GB, free: 13.46 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.002157/0.343, allocations: 1.104 MB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.3432, allocations: 43.97 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3432, allocations: 0 / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.381e-05/0.3432, allocations: 44.03 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.3436, allocations: 11.94 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.3453, allocations: 1.456 MB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3456, allocations: 0.6885 MB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.261e-05/0.3457, allocations: 23.77 kB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.3458, allocations: 31.36 kB / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3458, allocations: 0 / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.3697, allocations: 3.424 MB / 0.5746 GB, free: 6.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.03, allocations: 14.7 kB / 0.5746 GB, free: 6.68 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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: 13.899700877955183]