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.001134/0.001134, allocations: 104.9 kB / 16.4 MB, free: 6.492 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.00121/0.00121, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.44/1.44, 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.2066/0.2066, allocations: 43.52 MB / 314.1 MB, free: 456 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.001392/0.001392, allocations: 73.45 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1312, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001972/0.1332, allocations: 490.8 kB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.1369, allocations: 1.972 MB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.137, allocations: 0 / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.137, allocations: 0 / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.241e-06/0.137, allocations: 0 / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.1396, allocations: 0.7279 MB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.343e-05/0.1397, allocations: 4 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.1398, allocations: 4 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.952e-05/0.1398, allocations: 3.938 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.63e-05/0.1398, allocations: 0 / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-06/0.1398, allocations: 0 / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.1408, allocations: 0.6628 MB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.1408, allocations: 3.984 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.1409, allocations: 0 / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006398/0.1415, allocations: 0.5652 MB / 0.4917 GB, free: 7.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1415, allocations: 0 / 0.4917 GB, free: 7.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1415, allocations: 4 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1416, allocations: 4 kB / 0.4917 GB, free: 7.852 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.0004731/0.142, allocations: 412.6 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1421, allocations: 11.89 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.1421, allocations: 34.75 kB / 0.4921 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.1421, allocations: 0.9375 kB / 0.4921 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.799e-05/0.1423, allocations: 160.4 kB / 0.4923 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1423, allocations: 4.375 kB / 0.4923 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.1423, allocations: 384 / 0.4923 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.856e-05/0.1424, allocations: 37.81 kB / 0.4923 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1424, allocations: 3.938 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1424, allocations: 4 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1424, allocations: 0 / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.108e-05/0.1425, allocations: 0 / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.1426, allocations: 141.7 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.294e-05/0.1427, allocations: 22.61 kB / 0.4925 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.1427, allocations: 12.84 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.1428, allocations: 3.938 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.578e-05/0.1428, allocations: 64.27 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 3.566e-06/0.1428, allocations: 0 / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002121/0.1431, allocations: 59.34 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.1431, allocations: 85.09 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.933e-05/0.1432, allocations: 93.86 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1433, allocations: 25.7 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.1433, allocations: 84.27 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.1433, allocations: 0 / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.1434, allocations: 13.72 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.1436, allocations: 310.8 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.1436, allocations: 0 / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-06/0.1437, allocations: 0 / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.107e-05/0.1437, allocations: 68.2 kB / 0.4933 GB, free: 5.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1437, allocations: 4 kB / 0.4933 GB, free: 5.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.368e-05/0.1439, allocations: 67.39 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.144, allocations: 33.64 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.144, allocations: 0 / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.144, allocations: 4 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.144, allocations: 0 / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.144, allocations: 0 / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.1441, allocations: 0 / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1441, allocations: 0 / 0.4934 GB, free: 5.848 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.0001147/0.1442, allocations: 147.5 kB / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.1442, allocations: 3.938 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.1443, allocations: 7.125 kB / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1443, allocations: 0 / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1443, allocations: 0 / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1443, allocations: 0 / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.1444, allocations: 149.7 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1444, allocations: 0 / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-07/0.1445, allocations: 0 / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.1445, allocations: 7.922 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1445, allocations: 7.938 kB / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1445, allocations: 7.984 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1445, allocations: 0 / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.1447, allocations: 94.77 kB / 0.4938 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.1447, allocations: 81.05 kB / 0.4939 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.1447, allocations: 4 kB / 0.4939 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.344e-05/0.1448, allocations: 0 / 0.4939 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.1448, allocations: 0 / 0.4939 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.1448, allocations: 4.031 kB / 0.4939 GB, free: 5.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.145, allocations: 75.28 kB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.145, allocations: 0 / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006561/0.1456, allocations: 136 kB / 0.4941 GB, free: 5.023 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.001175/0.1468, allocations: 0.7791 MB / 0.4948 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.1469, allocations: 63.41 kB / 0.4949 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.147, allocations: 0 / 0.4949 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.147, allocations: 55.39 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.0001938/0.1472, allocations: 4 kB / 0.495 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.1478, allocations: 166.3 kB / 0.4951 GB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.1482, allocations: 0.6767 MB / 0.4958 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.392e-06/0.1482, allocations: 0 / 0.4958 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.1483, allocations: 11.56 kB / 0.4958 GB, free: 3.148 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1483, allocations: 0 / 0.4958 GB, free: 3.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.1818, allocations: 4.658 MB / 0.5003 GB, free: 14.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.074, allocations: 12 kB / 0.5004 GB, free: 14.47 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)