Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.3 MB / 236 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009966/0.0009965, allocations: 88.05 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2239/0.2239, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.779e-05/4.781e-05, allocations: 4.156 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.165, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5364/0.7014, allocations: 88.27 MB / 0.588 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/0.7019, allocations: 80.52 kB / 0.5881 GB, free: 0.918 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.715, allocations: 4.303 MB / 0.5923 GB, free: 12.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.715, allocations: 0 / 0.5923 GB, free: 12.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.715, allocations: 4 kB / 0.5923 GB, free: 12.62 MB / 410.7 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.000462/0.7155, allocations: 366.4 kB / 0.5926 GB, free: 12.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.7156, allocations: 8.031 kB / 0.5926 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.7156, allocations: 30.56 kB / 0.5927 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.7157, allocations: 7.906 kB / 0.5927 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.716, allocations: 194.9 kB / 0.5929 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.716, allocations: 8 kB / 0.5929 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.716, allocations: 3.953 kB / 0.5929 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.7162, allocations: 59.34 kB / 0.5929 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.7162, allocations: 0 / 0.5929 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.7162, allocations: 4 kB / 0.5929 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.7162, allocations: 0 / 0.5929 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.392e-05/0.7163, allocations: 16 kB / 0.5929 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.7169, allocations: 288.8 kB / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.7171, allocations: 46.48 kB / 0.5933 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.7172, allocations: 8.859 kB / 0.5933 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.7172, allocations: 4 kB / 0.5933 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.7172, allocations: 38.64 kB / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.7173, allocations: 0 / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005566/0.7178, allocations: 105.3 kB / 0.5934 GB, free: 11.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.7179, allocations: 89.09 kB / 0.5935 GB, free: 11.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.718, allocations: 118.1 kB / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.7181, allocations: 25.7 kB / 0.5936 GB, free: 11.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.7181, allocations: 92.14 kB / 0.5937 GB, free: 10.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.7181, allocations: 15.75 kB / 0.5937 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.7182, allocations: 4 kB / 0.5937 GB, free: 10.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.7183, allocations: 322.8 kB / 0.5941 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.7183, allocations: 12 kB / 0.5941 GB, free: 10.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.7184, allocations: 29.7 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.7184, allocations: 12 kB / 0.5941 GB, free: 10.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.7184, allocations: 0 / 0.5941 GB, free: 10.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001127/0.7186, allocations: 73.72 kB / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.7186, allocations: 8.031 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7186, allocations: 0 / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.7186, allocations: 0 / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.7187, allocations: 15.98 kB / 0.5942 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.7187, allocations: 0 / 0.5942 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.7188, allocations: 15.98 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.7188, allocations: 0 / 0.5942 GB, free: 10.41 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.696e-05/0.7189, allocations: 108.9 kB / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.7189, allocations: 7.906 kB / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.7191, allocations: 85.69 kB / 0.5944 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7191, allocations: 0 / 0.5944 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7191, allocations: 0 / 0.5944 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7191, allocations: 4 kB / 0.5944 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.7195, allocations: 334.5 kB / 0.5947 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7195, allocations: 0 / 0.5947 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.7196, allocations: 19.94 kB / 0.5947 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7196, allocations: 3.938 kB / 0.5948 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.7196, allocations: 0 / 0.5948 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7196, allocations: 3.938 kB / 0.5948 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7196, allocations: 4 kB / 0.5948 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.7198, allocations: 167.4 kB / 0.5949 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.7199, allocations: 81.02 kB / 0.595 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.7199, allocations: 8.25 kB / 0.595 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.72, allocations: 11.98 kB / 0.595 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.72, allocations: 4 kB / 0.595 GB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.7201, allocations: 4 kB / 0.595 GB, free: 9.469 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.501e-05/0.7202, allocations: 106.8 kB / 0.5951 GB, free: 9.367 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7202, allocations: 0 / 0.5951 GB, free: 9.367 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.7204, allocations: 27.98 kB / 0.5952 GB, free: 9.34 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001426/0.7219, allocations: 0.9994 MB / 0.5961 GB, free: 8.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.722, allocations: 31.94 kB / 0.5962 GB, free: 8.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.722, allocations: 0 / 0.5962 GB, free: 8.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-05/0.722, allocations: 23.98 kB / 0.5962 GB, free: 8.375 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.7223, allocations: 19.89 kB / 0.5962 GB, free: 8.355 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.7228, allocations: 155.1 kB / 0.5963 GB, free: 8.164 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.7231, allocations: 0.6919 MB / 0.597 GB, free: 7.449 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.287e-05/0.7232, allocations: 19.75 kB / 0.597 GB, free: 7.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.7233, allocations: 31.42 kB / 0.5971 GB, free: 7.398 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.7233, allocations: 3.938 kB / 0.5971 GB, free: 7.395 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.7392, allocations: 2.294 MB / 0.5993 GB, free: 5.184 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.7394, allocations: 182.4 kB / 0.5995 GB, free: 4.965 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.37, allocations: 0 / 0.5995 GB, free: 4.965 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat does not exist to compare? outputFormat=mat