Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.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.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",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.001282/0.001281, allocations: 102.8 kB / 16.27 MB, free: 5.969 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.001169/0.001169, allocations: 190 kB / 17.19 MB, free: 5.602 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.374/1.374, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.1972/0.1972, allocations: 43.53 MB / 314 MB, free: 0.5195 MB / 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.001613/0.001613, allocations: 69.81 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.09316, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001538/0.09474, allocations: 0.4897 MB / 441.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006154/0.1009, allocations: 5.057 MB / 446.2 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.101, allocations: 4 kB / 446.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.101, allocations: 0 / 446.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.69e-06/0.1011, allocations: 0 / 446.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007636/0.1087, allocations: 2.988 MB / 449.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.446e-05/0.1088, allocations: 4 kB / 449.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.1088, allocations: 3.938 kB / 449.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.627e-05/0.1088, allocations: 3.984 kB / 449.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.277e-05/0.1088, allocations: 8 kB / 449.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-06/0.1089, allocations: 0 / 449.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02426/0.1331, allocations: 18.55 MB / 467.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.1332, allocations: 0 / 467.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.1332, allocations: 0 / 467.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03646/0.1697, allocations: 27.63 MB / 495.4 MB, free: 16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.1697, allocations: 4 kB / 495.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1698, allocations: 0 / 495.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1698, allocations: 0 / 495.4 MB, free: 15.99 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.006773/0.1765, allocations: 0.6651 MB / 496 MB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1766, allocations: 15.88 kB / 496 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.1766, allocations: 30.75 kB / 496.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.1767, allocations: 4.938 kB / 496.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.825e-05/0.1768, allocations: 174.9 kB / 496.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1768, allocations: 0 / 496.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-06/0.1768, allocations: 3.938 kB / 496.3 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.449e-05/0.1769, allocations: 33.7 kB / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1769, allocations: 0 / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1769, allocations: 0 / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1769, allocations: 0 / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.1769, allocations: 3.984 kB / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.1771, allocations: 161.5 kB / 496.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.557e-05/0.1771, allocations: 18.61 kB / 496.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.1771, allocations: 4.859 kB / 496.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-06/0.1772, allocations: 0 / 496.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.1772, allocations: 64.33 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1772, allocations: 0 / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001552/0.1774, allocations: 67.45 kB / 496.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1774, allocations: 81.11 kB / 496.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.104e-05/0.1775, allocations: 89.86 kB / 496.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.1775, allocations: 25.7 kB / 496.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.1775, allocations: 80.14 kB / 496.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1775, allocations: 0 / 496.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.1776, allocations: 17.72 kB / 496.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.77e-05/0.1777, allocations: 318.8 kB / 497.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.1777, allocations: 0 / 497.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-06/0.1777, allocations: 8 kB / 497.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.1777, allocations: 56.27 kB / 497.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1777, allocations: 0 / 497.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.123e-05/0.1778, allocations: 67.34 kB / 497.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.1778, allocations: 37.69 kB / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1779, allocations: 0 / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1779, allocations: 0 / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1779, allocations: 0 / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1779, allocations: 96 / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.1779, allocations: 7.938 kB / 497.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.1779, allocations: 0 / 497.4 MB, free: 13.7 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 7.262e-05/0.178, allocations: 135.5 kB / 497.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.178, allocations: 0 / 497.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.765e-06/0.178, allocations: 3.125 kB / 497.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.178, allocations: 0 / 497.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.178, allocations: 7.922 kB / 497.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1781, allocations: 7.938 kB / 497.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.643e-05/0.1781, allocations: 141.7 kB / 497.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1781, allocations: 4 kB / 497.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1782, allocations: 0 / 497.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1782, allocations: 0 / 497.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.1782, allocations: 0 / 497.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1782, allocations: 4 kB / 497.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1782, allocations: 0 / 497.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.131e-05/0.1783, allocations: 102.6 kB / 497.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.1783, allocations: 81.14 kB / 497.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.1783, allocations: 4 kB / 497.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.1783, allocations: 7.922 kB / 497.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-06/0.1784, allocations: 0 / 497.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.1784, allocations: 7.938 kB / 497.9 MB, free: 13.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.015e-05/0.1784, allocations: 79.28 kB / 497.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1784, allocations: 0 / 497.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.009088/0.1875, allocations: 3.808 MB / 0.49 GB, free: 9.215 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.01794/0.2055, allocations: 1.533 MB / 0.4915 GB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.2056, allocations: 63.39 kB / 0.4915 GB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2056, allocations: 0 / 0.4915 GB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.2056, allocations: 55.41 kB / 0.4916 GB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.2058, allocations: 7.938 kB / 0.4916 GB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.2105, allocations: 338.6 kB / 0.4919 GB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.2107, allocations: 0.669 MB / 0.4926 GB, free: 6.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.982e-06/0.2107, allocations: 8.062 kB / 0.4926 GB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.2107, allocations: 11.44 kB / 0.4926 GB, free: 6.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2107, allocations: 0 / 0.4926 GB, free: 6.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3184/0.5291, allocations: 114.4 MB / 0.6043 GB, free: 15.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/16.63, allocations: 10.83 kB / 0.6043 GB, free: 15.43 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe 2>&1)