Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",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.001547/0.001547, allocations: 103.6 kB / 16.4 MB, free: 6.504 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.001808/0.001808, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.422/1.422, 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.221/0.221, allocations: 43.51 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.001741/0.001741, allocations: 73.45 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.118, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001855/0.1198, allocations: 0.491 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.1223, allocations: 1.599 MB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.1223, allocations: 0 / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.1224, allocations: 0 / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.148e-06/0.1224, allocations: 3.938 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009835/0.1234, allocations: 271.3 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.339e-05/0.1235, allocations: 8 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.1235, allocations: 3.984 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/0.1236, allocations: 0 / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.218e-05/0.1236, allocations: 3.984 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-06/0.1236, allocations: 0 / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.1243, allocations: 0.4904 MB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.714e-06/0.1244, allocations: 3.938 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.1244, allocations: 4 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.1249, allocations: 307.4 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1249, allocations: 0 / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1249, allocations: 0 / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1249, allocations: 0 / 0.4905 GB, free: 9.121 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.0004128/0.1253, allocations: 369.3 kB / 0.4908 GB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1254, allocations: 11.89 kB / 0.4908 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.1254, allocations: 34.73 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.1254, allocations: 4.875 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1255, allocations: 160.4 kB / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.1256, allocations: 4.375 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1256, allocations: 4.375 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.726e-05/0.1257, allocations: 29.83 kB / 0.4911 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1257, allocations: 0 / 0.4911 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1257, allocations: 3.938 kB / 0.4911 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1257, allocations: 7.938 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.1257, allocations: 0 / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.1259, allocations: 149.7 kB / 0.4912 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.102e-05/0.1259, allocations: 22.61 kB / 0.4912 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.1259, allocations: 4.859 kB / 0.4912 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-06/0.126, allocations: 0 / 0.4912 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.126, allocations: 60.2 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.126, allocations: 4.062 kB / 0.4913 GB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000184/0.1262, allocations: 67.33 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.1263, allocations: 81.11 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.058e-05/0.1263, allocations: 93.98 kB / 0.4915 GB, free: 7.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.1263, allocations: 25.7 kB / 0.4916 GB, free: 7.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.1264, allocations: 80.14 kB / 0.4916 GB, free: 7.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.1264, allocations: 0 / 0.4916 GB, free: 7.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.1264, allocations: 13.72 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1266, allocations: 310.8 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.1266, allocations: 3.984 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-06/0.1266, allocations: 4 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/0.1267, allocations: 72.27 kB / 0.492 GB, free: 7.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1267, allocations: 0 / 0.492 GB, free: 7.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.059e-05/0.1267, allocations: 59.41 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.1268, allocations: 37.62 kB / 0.4921 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1268, allocations: 0 / 0.4921 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1268, allocations: 4 kB / 0.4921 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.1268, allocations: 0 / 0.4921 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1268, allocations: 0 / 0.4921 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.1269, allocations: 0 / 0.4921 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1269, allocations: 0 / 0.4921 GB, free: 7.152 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 8.665e-05/0.127, allocations: 147.5 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.127, allocations: 3.938 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.137e-05/0.127, allocations: 3.125 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.127, allocations: 0 / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.127, allocations: 4 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.127, allocations: 3.984 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1271, allocations: 145.7 kB / 0.4924 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1272, allocations: 3.938 kB / 0.4924 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-06/0.1272, allocations: 7.922 kB / 0.4924 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1272, allocations: 7.938 kB / 0.4924 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1272, allocations: 0 / 0.4924 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1272, allocations: 3.938 kB / 0.4924 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1272, allocations: 4 kB / 0.4924 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.943e-05/0.1273, allocations: 86.83 kB / 0.4925 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.1273, allocations: 81.05 kB / 0.4926 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.1274, allocations: 4 kB / 0.4926 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-06/0.1274, allocations: 4.031 kB / 0.4926 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.1274, allocations: 3.984 kB / 0.4926 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1274, allocations: 0 / 0.4926 GB, free: 6.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.247e-05/0.1275, allocations: 75.28 kB / 0.4927 GB, free: 6.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1275, allocations: 0 / 0.4927 GB, free: 6.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003454/0.1278, allocations: 64 kB / 0.4927 GB, free: 6.398 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.0007706/0.1286, allocations: 0.7144 MB / 0.4934 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.924e-05/0.1287, allocations: 63.39 kB / 0.4935 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1287, allocations: 0 / 0.4935 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.1288, allocations: 55.41 kB / 0.4936 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.1289, allocations: 0 / 0.4936 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.1293, allocations: 142.5 kB / 0.4937 GB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1295, allocations: 0.6729 MB / 0.4944 GB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.472e-06/0.1295, allocations: 3.938 kB / 0.4944 GB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.1295, allocations: 7.562 kB / 0.4944 GB, free: 4.617 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.1296, allocations: 4 kB / 0.4944 GB, free: 4.613 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.1495, allocations: 2.105 MB / 0.4964 GB, free: 2.504 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/7.928, allocations: 8 kB / 0.4964 GB, free: 2.496 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1)