Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 108 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2259/0.2259, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003254/0.003254, allocations: 59.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1838, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001669/0.1855, allocations: 0.491 MB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.1888, allocations: 1.976 MB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.1888, allocations: 0 / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.1889, allocations: 0 / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.1e-05/0.1889, allocations: 3.938 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.191, allocations: 0.7163 MB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.051e-05/0.1911, allocations: 0 / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.1911, allocations: 0 / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.75e-05/0.1912, allocations: 7.938 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.907e-05/0.1912, allocations: 4 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-06/0.1912, allocations: 0 / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.1923, allocations: 0.6627 MB / 0.4912 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.1924, allocations: 7.984 kB / 0.4912 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.1924, allocations: 0 / 0.4912 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.1932, allocations: 0.5612 MB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.1932, allocations: 7.984 kB / 0.4917 GB, free: 7.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1932, allocations: 4 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1932, allocations: 0 / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004991/0.1937, allocations: 400.6 kB / 0.4921 GB, free: 7.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1938, allocations: 11.89 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1938, allocations: 34.75 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.1939, allocations: 4.922 kB / 0.4922 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.194, allocations: 160.4 kB / 0.4923 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.194, allocations: 384 / 0.4923 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.194, allocations: 384 / 0.4923 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.659e-05/0.1941, allocations: 41.77 kB / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1941, allocations: 0 / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1941, allocations: 0 / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1942, allocations: 0 / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.797e-05/0.1942, allocations: 0 / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.1943, allocations: 157.7 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/0.1944, allocations: 14.58 kB / 0.4925 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.1944, allocations: 8.891 kB / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.1944, allocations: 11.94 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.1945, allocations: 60.2 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1945, allocations: 0 / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001844/0.1947, allocations: 67.39 kB / 0.4927 GB, free: 6.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.1948, allocations: 77.11 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.1948, allocations: 89.86 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1948, allocations: 25.7 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.1949, allocations: 80.27 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.1949, allocations: 4 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.1949, allocations: 13.72 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1951, allocations: 314.8 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.1951, allocations: 0 / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.1951, allocations: 11.92 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.1952, allocations: 60.27 kB / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1952, allocations: 4 kB / 0.4933 GB, free: 5.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.089e-05/0.1953, allocations: 59.47 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.1953, allocations: 37.64 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1954, allocations: 3.984 kB / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1954, allocations: 0 / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1954, allocations: 0 / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1954, allocations: 3.984 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.1954, allocations: 0 / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1954, allocations: 0 / 0.4934 GB, free: 5.852 MB / 382.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000114/0.1955, allocations: 143.5 kB / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.1956, allocations: 7.969 kB / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.479e-05/0.1956, allocations: 7.062 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1956, allocations: 0 / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1956, allocations: 4 kB / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1956, allocations: 3.984 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1957, allocations: 145.7 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1957, allocations: 4 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1957, allocations: 0 / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.1958, allocations: 3.938 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1958, allocations: 4 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1958, allocations: 0 / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1958, allocations: 7.938 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.1959, allocations: 86.83 kB / 0.4938 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.196, allocations: 85.05 kB / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.196, allocations: 0 / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-06/0.196, allocations: 0 / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.196, allocations: 0 / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.196, allocations: 3.984 kB / 0.4939 GB, free: 5.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.781e-05/0.1961, allocations: 83.31 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.434e-06/0.1961, allocations: 0 / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004897/0.1966, allocations: 135.6 kB / 0.4941 GB, free: 5.027 MB / 382.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001106/0.1977, allocations: 0.78 MB / 0.4949 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.1978, allocations: 63.39 kB / 0.4949 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.1978, allocations: 0 / 0.4949 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.536e-05/0.1979, allocations: 59.34 kB / 0.495 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.198, allocations: 0 / 0.495 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.1984, allocations: 166.1 kB / 0.4951 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.1988, allocations: 0.669 MB / 0.4958 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.32e-06/0.1988, allocations: 0 / 0.4958 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.1988, allocations: 7.438 kB / 0.4958 GB, free: 3.164 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1988, allocations: 4.125 kB / 0.4958 GB, free: 3.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.2276, allocations: 4.655 MB / 0.5003 GB, free: 14.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/8.529, allocations: 7.938 kB / 0.5004 GB, free: 14.48 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1)