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.00102/0.00102, allocations: 103.7 kB / 16.4 MB, free: 6.496 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.001083/0.001083, allocations: 189.5 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.395/1.395, 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.2105/0.2105, allocations: 43.52 MB / 314.1 MB, free: 448 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.001588/0.001588, allocations: 78.02 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.107, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001686/0.1088, allocations: 0.4906 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1109, allocations: 1.61 MB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.1109, allocations: 0 / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.111, allocations: 0 / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.111, allocations: 0 / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009772/0.112, allocations: 267.2 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.994e-05/0.1121, allocations: 15.97 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.1121, allocations: 0 / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.758e-05/0.1121, allocations: 0 / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.199e-05/0.1122, allocations: 0 / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.151e-06/0.1122, allocations: 0 / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007839/0.113, allocations: 494.5 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.113, allocations: 3.938 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.113, allocations: 4 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.1135, allocations: 307.4 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.652e-05/0.1135, allocations: 0 / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1135, allocations: 3.938 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1135, allocations: 0 / 0.4905 GB, free: 9.117 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.0004137/0.1139, allocations: 377.2 kB / 0.4908 GB, free: 8.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.114, allocations: 11.89 kB / 0.4908 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.114, allocations: 30.75 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.1141, allocations: 4.938 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.608e-05/0.1142, allocations: 160.4 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1142, allocations: 8.375 kB / 0.491 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.1142, allocations: 384 / 0.491 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.1143, allocations: 29.83 kB / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1143, allocations: 0 / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1144, allocations: 4 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1144, allocations: 3.938 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.1144, allocations: 7.922 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.1145, allocations: 145.7 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.473e-05/0.1146, allocations: 22.61 kB / 0.4912 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.1146, allocations: 4.859 kB / 0.4912 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.1146, allocations: 0 / 0.4912 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.1147, allocations: 60.2 kB / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1147, allocations: 4.062 kB / 0.4913 GB, free: 8.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001918/0.1149, allocations: 67.33 kB / 0.4914 GB, free: 8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.115, allocations: 81.11 kB / 0.4915 GB, free: 7.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.166e-05/0.115, allocations: 93.98 kB / 0.4915 GB, free: 7.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.115, allocations: 25.7 kB / 0.4916 GB, free: 7.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.1151, allocations: 80.14 kB / 0.4916 GB, free: 7.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.1151, allocations: 0 / 0.4916 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.1151, allocations: 13.72 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1153, allocations: 314.8 kB / 0.492 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.1153, allocations: 4 kB / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-06/0.1153, allocations: 0 / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.1153, allocations: 64.33 kB / 0.492 GB, free: 7.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1154, allocations: 0 / 0.492 GB, free: 7.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.29e-05/0.1154, allocations: 63.34 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.1155, allocations: 37.62 kB / 0.4921 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1155, allocations: 0 / 0.4921 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1155, allocations: 4 kB / 0.4921 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1155, allocations: 0 / 0.4921 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1155, allocations: 0 / 0.4921 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.1156, allocations: 4 kB / 0.4921 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-06/0.1156, allocations: 0 / 0.4921 GB, free: 7.145 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.666e-05/0.1157, allocations: 147.5 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.1157, allocations: 7.922 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.171e-05/0.1157, allocations: 3.125 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.1157, allocations: 3.984 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1157, allocations: 3.938 kB / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1157, allocations: 0 / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.254e-05/0.1158, allocations: 149.7 kB / 0.4924 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1158, allocations: 0 / 0.4924 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1158, allocations: 3.938 kB / 0.4924 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1159, allocations: 7.938 kB / 0.4924 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1159, allocations: 0 / 0.4924 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1159, allocations: 0 / 0.4924 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1159, allocations: 11.98 kB / 0.4924 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.116, allocations: 90.77 kB / 0.4925 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.116, allocations: 81.05 kB / 0.4926 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1161, allocations: 7.984 kB / 0.4926 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.101e-05/0.1161, allocations: 4.031 kB / 0.4926 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.1161, allocations: 0 / 0.4926 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.1161, allocations: 0 / 0.4926 GB, free: 6.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.719e-05/0.1161, allocations: 75.28 kB / 0.4927 GB, free: 6.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1161, allocations: 0 / 0.4927 GB, free: 6.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.1165, allocations: 67.98 kB / 0.4928 GB, free: 6.379 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.0007243/0.1172, allocations: 0.7063 MB / 0.4934 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.709e-05/0.1173, allocations: 67.34 kB / 0.4935 GB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1173, allocations: 0 / 0.4935 GB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.187e-05/0.1174, allocations: 55.41 kB / 0.4936 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.1175, allocations: 0 / 0.4936 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.1179, allocations: 146.5 kB / 0.4937 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1181, allocations: 0.6729 MB / 0.4944 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.513e-06/0.1181, allocations: 0 / 0.4944 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.1182, allocations: 11.5 kB / 0.4944 GB, free: 4.602 MB / 382.1 MB Notification: Performance of SimCode: time 2.806e-06/0.1182, allocations: 4 kB / 0.4944 GB, free: 4.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.1357, allocations: 2.091 MB / 0.4964 GB, free: 2.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/7.477, allocations: 12 kB / 0.4964 GB, free: 2.484 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)