Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",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.001257/0.001257, allocations: 105.3 kB / 16.46 MB, free: 6.445 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.001304/0.001304, allocations: 189.4 kB / 17.39 MB, free: 5.668 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.349/1.349, allocations: 207.6 MB / 225.8 MB, free: 11.53 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: 44.25 MB / 319.9 MB, free: 12.86 MB / 270.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.00205/0.00205, allocations: 67.89 kB / 453.5 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1232, allocations: 61 MB / 0.5024 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001527/0.1247, allocations: 0.5026 MB / 0.5029 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.1268, allocations: 1.547 MB / 0.5044 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.1268, allocations: 0 / 0.5044 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.1268, allocations: 3.938 kB / 0.5044 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.64e-06/0.1268, allocations: 0 / 0.5044 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007841/0.1276, allocations: 227.4 kB / 0.5047 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.989e-05/0.1276, allocations: 0 / 0.5047 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.1277, allocations: 4 kB / 0.5047 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.404e-05/0.1277, allocations: 3.984 kB / 0.5047 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.469e-05/0.1277, allocations: 0 / 0.5047 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-06/0.1277, allocations: 4 kB / 0.5047 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009479/0.1286, allocations: 0.7454 MB / 0.5054 GB, free: 9.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-06/0.1287, allocations: 0 / 0.5054 GB, free: 9.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.1287, allocations: 3.938 kB / 0.5054 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007008/0.1294, allocations: 0.6434 MB / 0.506 GB, free: 8.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1294, allocations: 0 / 0.506 GB, free: 8.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1294, allocations: 0 / 0.506 GB, free: 8.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1294, allocations: 3.938 kB / 0.506 GB, free: 8.379 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004378/0.1298, allocations: 373 kB / 0.5064 GB, free: 7.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1299, allocations: 15.89 kB / 0.5064 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.1299, allocations: 30.75 kB / 0.5064 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.1299, allocations: 4.938 kB / 0.5064 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.13, allocations: 160.4 kB / 0.5066 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.13, allocations: 384 / 0.5066 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.13, allocations: 384 / 0.5066 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.356e-05/0.1301, allocations: 37.81 kB / 0.5066 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1301, allocations: 0 / 0.5066 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.1301, allocations: 0 / 0.5066 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1301, allocations: 0 / 0.5066 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.703e-05/0.1302, allocations: 7.938 kB / 0.5066 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.1303, allocations: 149.7 kB / 0.5068 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.849e-05/0.1303, allocations: 18.52 kB / 0.5068 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.1304, allocations: 8.844 kB / 0.5068 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-06/0.1304, allocations: 0 / 0.5068 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/0.1304, allocations: 64.3 kB / 0.5069 GB, free: 7.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1304, allocations: 4 kB / 0.5069 GB, free: 7.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001637/0.1306, allocations: 71.33 kB / 0.5069 GB, free: 7.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.1306, allocations: 77.11 kB / 0.507 GB, free: 7.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.359e-05/0.1307, allocations: 93.84 kB / 0.5071 GB, free: 7.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1307, allocations: 25.7 kB / 0.5071 GB, free: 7.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.1307, allocations: 80.14 kB / 0.5072 GB, free: 6.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.1308, allocations: 0 / 0.5072 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.1308, allocations: 13.72 kB / 0.5072 GB, free: 6.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1309, allocations: 319 kB / 0.5075 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.1309, allocations: 0 / 0.5075 GB, free: 6.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.1309, allocations: 0 / 0.5075 GB, free: 6.609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.794e-05/0.131, allocations: 60.27 kB / 0.5076 GB, free: 6.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.131, allocations: 0 / 0.5076 GB, free: 6.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.494e-05/0.1311, allocations: 67.33 kB / 0.5076 GB, free: 6.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.1311, allocations: 33.64 kB / 0.5077 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1311, allocations: 4 kB / 0.5077 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1311, allocations: 96 / 0.5077 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.133e-06/0.1311, allocations: 4 kB / 0.5077 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1311, allocations: 0 / 0.5077 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.1311, allocations: 4 kB / 0.5077 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.1312, allocations: 0 / 0.5077 GB, free: 6.406 MB / 398.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 9.836e-05/0.1313, allocations: 143.5 kB / 0.5078 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.1313, allocations: 7.938 kB / 0.5078 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.231e-05/0.1313, allocations: 3.125 kB / 0.5078 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1313, allocations: 3.938 kB / 0.5078 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1313, allocations: 4 kB / 0.5078 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1313, allocations: 0 / 0.5078 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.1314, allocations: 149.7 kB / 0.508 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1314, allocations: 0 / 0.508 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.1314, allocations: 0 / 0.508 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1314, allocations: 3.938 kB / 0.508 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1314, allocations: 0 / 0.508 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.1314, allocations: 7.922 kB / 0.508 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1314, allocations: 4 kB / 0.508 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.1315, allocations: 94.77 kB / 0.5081 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.1316, allocations: 81.05 kB / 0.5082 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1316, allocations: 4 kB / 0.5082 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-06/0.1316, allocations: 0 / 0.5082 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.1316, allocations: 0 / 0.5082 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1316, allocations: 4 kB / 0.5082 GB, free: 5.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.51e-05/0.1316, allocations: 75.28 kB / 0.5082 GB, free: 5.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1316, allocations: 0 / 0.5082 GB, free: 5.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003919/0.132, allocations: 119.9 kB / 0.5084 GB, free: 5.602 MB / 398.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.001004/0.133, allocations: 0.7217 MB / 0.5091 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.969e-05/0.1331, allocations: 55.41 kB / 0.5091 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1331, allocations: 0 / 0.5091 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/0.1332, allocations: 59.39 kB / 0.5092 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.1333, allocations: 0 / 0.5092 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.1337, allocations: 126.4 kB / 0.5093 GB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.134, allocations: 0.673 MB / 0.5099 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.701e-06/0.134, allocations: 4 kB / 0.5099 GB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.134, allocations: 11.38 kB / 0.51 GB, free: 3.832 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.134, allocations: 0 / 0.51 GB, free: 3.832 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.1607, allocations: 4.72 MB / 0.5146 GB, free: 15.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.16, allocations: 3.438 kB / 0.5146 GB, free: 15.1 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1)