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.001132/0.001132, allocations: 104.3 kB / 16.4 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.00118/0.00118, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.461/1.461, 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.2263/0.2263, allocations: 43.53 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.00165/0.00165, allocations: 71.91 kB / 441.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1251, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.002195/0.1273, allocations: 494.8 kB / 499.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003503/0.1309, allocations: 2.136 MB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.1309, allocations: 0 / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.1309, allocations: 0 / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.216e-06/0.131, allocations: 3.938 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.1336, allocations: 0.7287 MB / 0.4907 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.796e-05/0.1337, allocations: 4 kB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.1338, allocations: 0 / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.1338, allocations: 3.984 kB / 0.4907 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.439e-05/0.1338, allocations: 4 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-06/0.1338, allocations: 0 / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.1363, allocations: 1.502 MB / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.1363, allocations: 8 kB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.1364, allocations: 0 / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.1386, allocations: 1.54 MB / 0.4936 GB, free: 5.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1387, allocations: 0 / 0.4936 GB, free: 5.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.1387, allocations: 4 kB / 0.4936 GB, free: 5.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.1387, allocations: 0 / 0.4936 GB, free: 5.891 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.0009243/0.1396, allocations: 420.6 kB / 0.494 GB, free: 5.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1397, allocations: 11.89 kB / 0.4941 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.1397, allocations: 34.73 kB / 0.4941 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.1397, allocations: 8.875 kB / 0.4941 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.495e-05/0.1398, allocations: 164.4 kB / 0.4943 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1399, allocations: 4.375 kB / 0.4943 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.1399, allocations: 3.938 kB / 0.4943 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.954e-05/0.14, allocations: 29.69 kB / 0.4943 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.14, allocations: 0 / 0.4943 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.14, allocations: 8 kB / 0.4943 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.14, allocations: 0 / 0.4943 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/0.1401, allocations: 0 / 0.4943 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.1402, allocations: 145.7 kB / 0.4944 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.657e-05/0.1403, allocations: 38.47 kB / 0.4945 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.1403, allocations: 8.859 kB / 0.4945 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.1403, allocations: 0 / 0.4945 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.396e-05/0.1404, allocations: 56.27 kB / 0.4945 GB, free: 4.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.1404, allocations: 4.062 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001996/0.1406, allocations: 63.33 kB / 0.4946 GB, free: 4.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.1407, allocations: 85.23 kB / 0.4947 GB, free: 4.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.728e-05/0.1407, allocations: 93.86 kB / 0.4948 GB, free: 4.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1408, allocations: 25.7 kB / 0.4948 GB, free: 4.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.1408, allocations: 80.14 kB / 0.4949 GB, free: 4.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.1408, allocations: 0 / 0.4949 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.1409, allocations: 13.72 kB / 0.4949 GB, free: 4.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.141, allocations: 314.8 kB / 0.4952 GB, free: 4.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.141, allocations: 7.922 kB / 0.4952 GB, free: 4.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.017e-05/0.141, allocations: 4 kB / 0.4952 GB, free: 4.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.795e-05/0.1411, allocations: 64.27 kB / 0.4953 GB, free: 3.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1411, allocations: 0 / 0.4953 GB, free: 3.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.156e-05/0.1412, allocations: 67.28 kB / 0.4953 GB, free: 3.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.1412, allocations: 33.69 kB / 0.4954 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1412, allocations: 0 / 0.4954 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1413, allocations: 0 / 0.4954 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.895e-06/0.1413, allocations: 4 kB / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1413, allocations: 0 / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/0.1413, allocations: 4.094 kB / 0.4954 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1413, allocations: 0 / 0.4954 GB, free: 3.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 9.985e-05/0.1414, allocations: 139.5 kB / 0.4955 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.1415, allocations: 7.875 kB / 0.4955 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.51e-05/0.1415, allocations: 3.125 kB / 0.4955 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1415, allocations: 0 / 0.4955 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1415, allocations: 0 / 0.4955 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1415, allocations: 0 / 0.4955 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.1416, allocations: 157.6 kB / 0.4957 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1416, allocations: 0 / 0.4957 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.1416, allocations: 4 kB / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1416, allocations: 0 / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.1417, allocations: 0 / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1417, allocations: 0 / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1417, allocations: 0 / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.1418, allocations: 98.7 kB / 0.4958 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.1419, allocations: 77.11 kB / 0.4958 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.1419, allocations: 32 / 0.4958 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.1419, allocations: 12 kB / 0.4958 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.1419, allocations: 3.984 kB / 0.4958 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1419, allocations: 0 / 0.4958 GB, free: 3.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.026e-05/0.142, allocations: 75.28 kB / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.142, allocations: 0 / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001232/0.1432, allocations: 268 kB / 0.4962 GB, free: 2.91 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.002347/0.1456, allocations: 0.94 MB / 0.4971 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.1457, allocations: 59.34 kB / 0.4971 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1457, allocations: 0 / 0.4971 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.375e-05/0.1458, allocations: 59.39 kB / 0.4972 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.1459, allocations: 0 / 0.4972 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007393/0.1467, allocations: 170.5 kB / 0.4974 GB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.147, allocations: 0.6729 MB / 0.498 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.704e-06/0.147, allocations: 4.125 kB / 0.498 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.147, allocations: 11.44 kB / 0.498 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.147, allocations: 0 / 0.498 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03395/0.181, allocations: 8.198 MB / 0.506 GB, free: 8.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.065, allocations: 13.09 kB / 0.5061 GB, free: 8.652 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)