Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002055/0.002055, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002179/0.002179, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.746 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.2284/0.2284, allocations: 46.95 MB / 360.9 MB, free: 4.02 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.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.89 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.327, allocations: 66.03 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003197/0.3302, allocations: 1.621 MB / 0.5622 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3313, allocations: 0.5271 MB / 0.5627 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.415e-05/0.3313, allocations: 4 kB / 0.5627 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.3316, allocations: 71.77 kB / 0.5628 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.3319, allocations: 107.6 kB / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.3323, allocations: 119.4 kB / 0.563 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.3324, allocations: 79.83 kB / 0.5631 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3325, allocations: 17.8 kB / 0.5631 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.252e-05/0.3326, allocations: 31.86 kB / 0.5631 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3327, allocations: 51.81 kB / 0.5632 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.3327, allocations: 4 kB / 0.5632 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.038e-05/0.3328, allocations: 43.98 kB / 0.5632 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.3329, allocations: 19.92 kB / 0.5632 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.3329, allocations: 35.73 kB / 0.5633 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.3331, allocations: 111.4 kB / 0.5634 GB, free: 1.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3331, allocations: 0 / 0.5634 GB, free: 1.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3331, allocations: 0 / 0.5634 GB, free: 1.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3331, allocations: 4 kB / 0.5634 GB, free: 1.367 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.0004693/0.3336, allocations: 329.7 kB / 0.5637 GB, free: 1.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3336, allocations: 8.031 kB / 0.5637 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.3336, allocations: 34.73 kB / 0.5637 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.3337, allocations: 16.84 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.3339, allocations: 142.3 kB / 0.5639 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.3339, allocations: 4.375 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.3339, allocations: 8.375 kB / 0.5639 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.334, allocations: 61.59 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.334, allocations: 0 / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.3341, allocations: 0 / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3341, allocations: 0 / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.738e-05/0.3342, allocations: 27.97 kB / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.3346, allocations: 267.8 kB / 0.5642 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.3347, allocations: 46.56 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.3347, allocations: 20.94 kB / 0.5643 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.3347, allocations: 0 / 0.5643 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3348, allocations: 38.56 kB / 0.5643 GB, free: 256 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3348, allocations: 0 / 0.5643 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008934/0.3357, allocations: 233.2 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.3357, allocations: 67.28 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.3359, allocations: 199.2 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.336, allocations: 29.7 kB / 0.5648 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.392e-05/0.336, allocations: 108.1 kB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.3361, allocations: 35.8 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.3361, allocations: 17.72 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3363, allocations: 322.8 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.3363, allocations: 31.97 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.3364, allocations: 27.98 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.3366, allocations: 77.05 kB / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3366, allocations: 0 / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002308/0.3368, allocations: 117.5 kB / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3368, allocations: 4 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3368, allocations: 0 / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3368, allocations: 0 / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3369, allocations: 19.98 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.337, allocations: 3.938 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.337, allocations: 15.98 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.337, allocations: 4 kB / 0.5656 GB, free: 14.89 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 9.736e-05/0.3371, allocations: 121.8 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.3371, allocations: 11.91 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.3375, allocations: 135 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3375, allocations: 432 / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3375, allocations: 7.938 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3375, allocations: 0 / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.338, allocations: 374.4 kB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.338, allocations: 7.984 kB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.3381, allocations: 15.94 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3381, allocations: 3.984 kB / 0.5662 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.3381, allocations: 7.984 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3381, allocations: 0 / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3381, allocations: 0 / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.3384, allocations: 220.2 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.3384, allocations: 19.83 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3384, allocations: 4 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.3385, allocations: 7.984 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.3385, allocations: 3.984 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3385, allocations: 4 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.3386, allocations: 153.8 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3386, allocations: 0 / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.3389, allocations: 23.94 kB / 0.5667 GB, free: 13.7 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.002281/0.3412, allocations: 1.142 MB / 0.5678 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.3414, allocations: 71.94 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3414, allocations: 4 kB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.3415, allocations: 35.92 kB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.3419, allocations: 24.55 kB / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.3439, allocations: 1.683 MB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.344, allocations: 96.25 kB / 0.5696 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.058e-05/0.3441, allocations: 24.95 kB / 0.5697 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.3441, allocations: 35.42 kB / 0.5697 GB, free: 10.68 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3441, allocations: 0 / 0.5697 GB, free: 10.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.3722, allocations: 3.699 MB / 0.5733 GB, free: 7.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.23, allocations: 14.22 kB / 0.5733 GB, free: 7.016 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 14.252380178979365]