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.001318/0.001318, allocations: 103.8 kB / 16.4 MB, free: 6.461 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.00129/0.001291, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.474/1.474, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2337/0.2337, 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.002101/0.002101, allocations: 65.62 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1377, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001747/0.1395, allocations: 0.4949 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.142, allocations: 1.548 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.1421, allocations: 0 / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.1421, allocations: 4 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.352e-06/0.1421, allocations: 0 / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009443/0.1431, allocations: 231.4 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.375e-05/0.1432, allocations: 4 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.1432, allocations: 0 / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.365e-05/0.1432, allocations: 0 / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.641e-05/0.1433, allocations: 0 / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.1433, allocations: 4 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.1444, allocations: 0.7025 MB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.1444, allocations: 0 / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.1444, allocations: 4 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008104/0.1453, allocations: 0.6472 MB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1453, allocations: 4 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1453, allocations: 4 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1453, allocations: 0 / 0.4909 GB, free: 8.637 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.0005841/0.1459, allocations: 361 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1459, allocations: 15.89 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.146, allocations: 34.75 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.146, allocations: 0.9375 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1461, allocations: 164.4 kB / 0.4915 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1461, allocations: 384 / 0.4915 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.1462, allocations: 8.312 kB / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.004e-05/0.1463, allocations: 33.83 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1463, allocations: 0 / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1463, allocations: 0 / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1463, allocations: 3.938 kB / 0.4915 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.1463, allocations: 4 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.1465, allocations: 141.7 kB / 0.4917 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.02e-05/0.1465, allocations: 22.66 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.337e-05/0.1466, allocations: 12.86 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.1466, allocations: 0 / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.673e-05/0.1467, allocations: 60.2 kB / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1467, allocations: 0 / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001761/0.1468, allocations: 67.33 kB / 0.4918 GB, free: 7.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.1469, allocations: 77.11 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.615e-05/0.147, allocations: 93.86 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.147, allocations: 33.83 kB / 0.492 GB, free: 7.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.147, allocations: 84.08 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.1471, allocations: 0 / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.1471, allocations: 13.72 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1473, allocations: 310.8 kB / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.1473, allocations: 4 kB / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-06/0.1473, allocations: 0 / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.375e-05/0.1474, allocations: 76.25 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1474, allocations: 0 / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.627e-05/0.1475, allocations: 59.41 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.1476, allocations: 33.64 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1476, allocations: 0 / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1476, allocations: 0 / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.1476, allocations: 0 / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1476, allocations: 0 / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.1477, allocations: 4 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1477, allocations: 3.984 kB / 0.4926 GB, free: 6.668 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.0001062/0.1478, allocations: 139.5 kB / 0.4927 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.1478, allocations: 7.938 kB / 0.4927 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.1478, allocations: 7.125 kB / 0.4927 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.1478, allocations: 0 / 0.4927 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1478, allocations: 0 / 0.4927 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1479, allocations: 0 / 0.4927 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.148, allocations: 145.7 kB / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.148, allocations: 0 / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-06/0.148, allocations: 4 kB / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.148, allocations: 3.938 kB / 0.4929 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.148, allocations: 11.94 kB / 0.4929 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.148, allocations: 0 / 0.4929 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.148, allocations: 3.938 kB / 0.4929 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.1481, allocations: 90.83 kB / 0.493 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.1482, allocations: 85.03 kB / 0.4931 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1482, allocations: 0 / 0.4931 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-06/0.1482, allocations: 0 / 0.4931 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.1483, allocations: 8.031 kB / 0.4931 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1483, allocations: 0 / 0.4931 GB, free: 6.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.114e-05/0.1483, allocations: 75.28 kB / 0.4931 GB, free: 5.984 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1483, allocations: 3.938 kB / 0.4932 GB, free: 5.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004388/0.1488, allocations: 123.9 kB / 0.4933 GB, free: 5.859 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.001141/0.1499, allocations: 0.7007 MB / 0.494 GB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.15, allocations: 59.41 kB / 0.494 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.1501, allocations: 64 / 0.494 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.1501, allocations: 63.39 kB / 0.4941 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1502, allocations: 4 kB / 0.4941 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.1506, allocations: 130.3 kB / 0.4942 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.151, allocations: 0.6728 MB / 0.4949 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.41e-06/0.151, allocations: 0 / 0.4949 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.151, allocations: 7.438 kB / 0.4949 GB, free: 4.102 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1511, allocations: 0 / 0.4949 GB, free: 4.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.1833, allocations: 4.728 MB / 0.4995 GB, free: 15.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.26, allocations: 0 / 0.4995 GB, free: 15.36 MB / 398.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)