Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.001667/0.001667, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001549/0.001549, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.385/1.385, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2242/0.2242, allocations: 46.92 MB / 361.6 MB, free: 4.285 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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 79.88 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3011, allocations: 66.08 MB / 0.5615 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003255/0.3043, allocations: 1.617 MB / 0.5631 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3063, allocations: 1.27 MB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.3063, allocations: 0 / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.3065, allocations: 23.86 kB / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.3068, allocations: 87.61 kB / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.3071, allocations: 110.8 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.3072, allocations: 71.77 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.814e-05/0.3073, allocations: 10.11 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.3074, allocations: 27.91 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.3075, allocations: 39.83 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3076, allocations: 4 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.3077, allocations: 95.89 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.3078, allocations: 19.91 kB / 0.5648 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.3078, allocations: 19.88 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.3081, allocations: 147.4 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3081, allocations: 0 / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3081, allocations: 4 kB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.3081, allocations: 0 / 0.565 GB, free: 0.7969 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.0005153/0.3086, allocations: 325.7 kB / 0.5653 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3086, allocations: 15.97 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.202e-05/0.3087, allocations: 192 / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.3087, allocations: 30.75 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.3087, allocations: 8.891 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.3089, allocations: 142.3 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3089, allocations: 4.375 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3089, allocations: 4.375 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.3091, allocations: 75.64 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3091, allocations: 0 / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.3091, allocations: 0 / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3091, allocations: 0 / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.975e-05/0.3092, allocations: 23.98 kB / 0.5656 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.3096, allocations: 252 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.3098, allocations: 50.5 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.3099, allocations: 16.94 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.3099, allocations: 0 / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.3099, allocations: 30.56 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.3099, allocations: 0 / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000558/0.3105, allocations: 153.4 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.3105, allocations: 81.11 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.3107, allocations: 151.8 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.3108, allocations: 29.7 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.3108, allocations: 92.12 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.3109, allocations: 23.78 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.3109, allocations: 21.72 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.3111, allocations: 326.8 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.3113, allocations: 19.98 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3114, allocations: 29.7 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.3116, allocations: 60.98 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3116, allocations: 4 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003254/0.3119, allocations: 89.61 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.312, allocations: 4 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.312, allocations: 0 / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.312, allocations: 0 / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3121, allocations: 19.92 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3121, allocations: 3.984 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.139e-05/0.3122, allocations: 4 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3122, allocations: 4 kB / 0.567 GB, free: 14.53 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.0001259/0.3123, allocations: 127 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.3123, allocations: 7.953 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.3127, allocations: 94.06 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3127, allocations: 3.984 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3127, allocations: 0 / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3127, allocations: 0 / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.3134, allocations: 333.5 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3134, allocations: 0 / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.509e-05/0.3135, allocations: 15.98 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3135, allocations: 0 / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3135, allocations: 0 / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3135, allocations: 3.938 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3135, allocations: 192 / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.3139, allocations: 187.5 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.3139, allocations: 11.94 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.3139, allocations: 4.281 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.3141, allocations: 7.938 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.3141, allocations: 7.922 kB / 0.5677 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-06/0.3141, allocations: 4 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.3143, allocations: 113.8 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3143, allocations: 4 kB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000504/0.3148, allocations: 39.86 kB / 0.5679 GB, free: 13.49 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.003039/0.3178, allocations: 1.1 MB / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.3181, allocations: 51.91 kB / 0.569 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3181, allocations: 4 kB / 0.569 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.3182, allocations: 31.97 kB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.3187, allocations: 11.94 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.321, allocations: 1.456 MB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.3214, allocations: 0.6924 MB / 0.5712 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.625e-05/0.3215, allocations: 20.02 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.3215, allocations: 27.42 kB / 0.5712 GB, free: 10.13 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3215, allocations: 0 / 0.5712 GB, free: 10.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.3547, allocations: 3.434 MB / 0.5746 GB, free: 6.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.02, allocations: 11.61 kB / 0.5746 GB, free: 6.711 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.936842535971664]