Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",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.00186/0.00186, allocations: 108.4 kB / 16.41 MB, free: 6.488 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.001985/0.001985, 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.45/1.45, 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.2273/0.2273, allocations: 43.53 MB / 314.1 MB, free: 468 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.002023/0.002023, allocations: 75.88 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1216, allocations: 57.78 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001692/0.1233, allocations: 0.4988 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.1266, allocations: 2.129 MB / 0.49 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.042e-05/0.1267, allocations: 0 / 0.49 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.1267, allocations: 4 kB / 0.49 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.1267, allocations: 0 / 0.49 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.1286, allocations: 0.7132 MB / 0.4907 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.577e-05/0.1287, allocations: 8 kB / 0.4907 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.081e-05/0.1287, allocations: 3.984 kB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.748e-05/0.1288, allocations: 7.922 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.849e-05/0.1288, allocations: 0 / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.711e-06/0.1288, allocations: 0 / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.131, allocations: 1.502 MB / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.1311, allocations: 0 / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.1311, allocations: 0 / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.1329, allocations: 1.555 MB / 0.4937 GB, free: 5.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1329, allocations: 0 / 0.4937 GB, free: 5.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1329, allocations: 0 / 0.4937 GB, free: 5.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.133, allocations: 0 / 0.4937 GB, free: 5.887 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.0006202/0.1336, allocations: 420.5 kB / 0.4941 GB, free: 5.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.1336, allocations: 19.89 kB / 0.4941 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.1337, allocations: 34.69 kB / 0.4941 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.1337, allocations: 0.9375 kB / 0.4941 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1338, allocations: 164.4 kB / 0.4943 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1338, allocations: 384 / 0.4943 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.1339, allocations: 3.938 kB / 0.4943 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.104e-05/0.134, allocations: 29.7 kB / 0.4943 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.134, allocations: 0 / 0.4943 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.134, allocations: 3.938 kB / 0.4943 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.134, allocations: 0 / 0.4943 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.879e-05/0.134, allocations: 8 kB / 0.4943 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.1342, allocations: 149.7 kB / 0.4945 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.137e-05/0.1342, allocations: 18.52 kB / 0.4945 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.1343, allocations: 12.95 kB / 0.4945 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.1343, allocations: 0 / 0.4945 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/0.1343, allocations: 60.27 kB / 0.4945 GB, free: 4.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1343, allocations: 4 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001824/0.1345, allocations: 71.33 kB / 0.4946 GB, free: 4.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.1346, allocations: 77.11 kB / 0.4947 GB, free: 4.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.1347, allocations: 89.86 kB / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1347, allocations: 25.7 kB / 0.4948 GB, free: 4.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.1347, allocations: 84.14 kB / 0.4949 GB, free: 4.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.1347, allocations: 0 / 0.4949 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.1348, allocations: 13.72 kB / 0.4949 GB, free: 4.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.135, allocations: 319 kB / 0.4952 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.135, allocations: 4 kB / 0.4952 GB, free: 4.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.135, allocations: 0 / 0.4952 GB, free: 4.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.195e-05/0.1351, allocations: 68.19 kB / 0.4953 GB, free: 3.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1351, allocations: 0 / 0.4953 GB, free: 3.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.307e-05/0.1352, allocations: 59.34 kB / 0.4953 GB, free: 3.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.1352, allocations: 37.7 kB / 0.4954 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1352, allocations: 3.938 kB / 0.4954 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1353, allocations: 4.094 kB / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.1353, allocations: 0 / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1353, allocations: 0 / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.786e-05/0.1353, allocations: 3.984 kB / 0.4954 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1353, allocations: 4 kB / 0.4954 GB, free: 3.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 9.213e-05/0.1354, allocations: 139.4 kB / 0.4955 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.1354, allocations: 3.938 kB / 0.4955 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.1354, allocations: 7.125 kB / 0.4955 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1355, allocations: 0 / 0.4955 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1355, allocations: 4 kB / 0.4955 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1355, allocations: 0 / 0.4955 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.1356, allocations: 149.6 kB / 0.4957 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1356, allocations: 0 / 0.4957 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1356, allocations: 0 / 0.4957 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1356, allocations: 4 kB / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.1356, allocations: 0 / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1356, allocations: 3.938 kB / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.1356, allocations: 0 / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.1358, allocations: 98.77 kB / 0.4958 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.1358, allocations: 77.11 kB / 0.4958 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1358, allocations: 0 / 0.4958 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.277e-05/0.1358, allocations: 7.984 kB / 0.4958 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.1359, allocations: 0 / 0.4958 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.1359, allocations: 4 kB / 0.4958 GB, free: 3.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.136, allocations: 75.28 kB / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.136, allocations: 0 / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008025/0.1368, allocations: 279.5 kB / 0.4962 GB, free: 2.898 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.001672/0.1385, allocations: 0.9418 MB / 0.4971 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.1386, allocations: 63.41 kB / 0.4972 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1386, allocations: 0 / 0.4972 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.88e-05/0.1387, allocations: 55.41 kB / 0.4972 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.1388, allocations: 0 / 0.4972 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.1393, allocations: 166.3 kB / 0.4974 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1396, allocations: 0.6767 MB / 0.498 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.286e-06/0.1396, allocations: 3.984 kB / 0.498 GB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.1396, allocations: 7.438 kB / 0.498 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1396, allocations: 0 / 0.498 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.1766, allocations: 8.204 MB / 0.5061 GB, free: 8.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.485, allocations: 12 kB / 0.5061 GB, free: 8.629 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)