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.001113/0.001113, allocations: 106.8 kB / 16.41 MB, free: 6.039 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.001215/0.001215, allocations: 188.4 kB / 17.34 MB, free: 5.609 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.349/1.349, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2092/0.2092, allocations: 43.51 MB / 314.1 MB, free: 464 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.001518/0.001518, allocations: 69.47 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09993/0.1015, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001822/0.1033, allocations: 0.491 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.1064, allocations: 2.129 MB / 0.4899 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.1065, allocations: 3.938 kB / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.1065, allocations: 0 / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.254e-06/0.1066, allocations: 0 / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.1087, allocations: 0.7132 MB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.268e-05/0.1088, allocations: 8 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.1088, allocations: 3.984 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.1088, allocations: 3.984 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.912e-05/0.1089, allocations: 0 / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-06/0.1089, allocations: 0 / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.111, allocations: 1.506 MB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.1111, allocations: 4 kB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.1111, allocations: 4 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.1132, allocations: 1.544 MB / 0.4936 GB, free: 5.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.1132, allocations: 4 kB / 0.4936 GB, free: 5.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1132, allocations: 0 / 0.4936 GB, free: 5.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1132, allocations: 0 / 0.4936 GB, free: 5.863 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.001094/0.1143, allocations: 409.3 kB / 0.494 GB, free: 5.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1144, allocations: 15.89 kB / 0.494 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.1144, allocations: 34.75 kB / 0.4941 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.1145, allocations: 4.875 kB / 0.4941 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1146, allocations: 168.4 kB / 0.4942 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1146, allocations: 384 / 0.4942 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1147, allocations: 7.938 kB / 0.4943 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1148, allocations: 29.64 kB / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1148, allocations: 0 / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1148, allocations: 0 / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1148, allocations: 0 / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.1148, allocations: 4 kB / 0.4943 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.115, allocations: 153.7 kB / 0.4944 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.1151, allocations: 30.53 kB / 0.4945 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.1151, allocations: 8.859 kB / 0.4945 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.1151, allocations: 0 / 0.4945 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.1152, allocations: 60.2 kB / 0.4945 GB, free: 4.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1152, allocations: 0 / 0.4945 GB, free: 4.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002151/0.1154, allocations: 63.45 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.1155, allocations: 81.23 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.679e-05/0.1156, allocations: 97.86 kB / 0.4948 GB, free: 4.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1156, allocations: 25.7 kB / 0.4948 GB, free: 4.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.1156, allocations: 80.14 kB / 0.4949 GB, free: 4.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.1156, allocations: 0 / 0.4949 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.1157, allocations: 13.66 kB / 0.4949 GB, free: 4.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1158, allocations: 318.8 kB / 0.4952 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.1158, allocations: 0 / 0.4952 GB, free: 4.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.1159, allocations: 4 kB / 0.4952 GB, free: 4.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.711e-05/0.1159, allocations: 72.19 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1159, allocations: 0 / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.701e-05/0.116, allocations: 63.34 kB / 0.4953 GB, free: 3.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.1161, allocations: 29.7 kB / 0.4953 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1161, allocations: 0 / 0.4953 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.1161, allocations: 0 / 0.4953 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.784e-06/0.1161, allocations: 0 / 0.4953 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1161, allocations: 3.984 kB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.1162, allocations: 12.08 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1162, allocations: 0 / 0.4954 GB, free: 3.828 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.000122/0.1163, allocations: 135.5 kB / 0.4955 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.1163, allocations: 11.88 kB / 0.4955 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.839e-05/0.1164, allocations: 3.125 kB / 0.4955 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1164, allocations: 0 / 0.4955 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.1164, allocations: 4 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1164, allocations: 0 / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.1165, allocations: 157.5 kB / 0.4957 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1165, allocations: 8 kB / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.1165, allocations: 0 / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1165, allocations: 0 / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1166, allocations: 0 / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1166, allocations: 0 / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1166, allocations: 0 / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.1167, allocations: 94.77 kB / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.1167, allocations: 77.11 kB / 0.4958 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1168, allocations: 4.031 kB / 0.4958 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.077e-05/0.1168, allocations: 0 / 0.4958 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.1168, allocations: 4 kB / 0.4958 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1168, allocations: 0 / 0.4958 GB, free: 3.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.831e-05/0.1168, allocations: 75.28 kB / 0.4959 GB, free: 3.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1169, allocations: 0 / 0.4959 GB, free: 3.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001068/0.1179, allocations: 272 kB / 0.4962 GB, free: 2.887 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.001857/0.1198, allocations: 0.9513 MB / 0.4971 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.1199, allocations: 55.41 kB / 0.4971 GB, free: 1.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1199, allocations: 0 / 0.4971 GB, free: 1.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.294e-05/0.12, allocations: 55.41 kB / 0.4972 GB, free: 1.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.1201, allocations: 3.938 kB / 0.4972 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/0.1209, allocations: 174.5 kB / 0.4974 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1212, allocations: 0.673 MB / 0.498 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.574e-06/0.1212, allocations: 4 kB / 0.498 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.1212, allocations: 11.44 kB / 0.498 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1212, allocations: 0 / 0.498 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.1506, allocations: 8.202 MB / 0.506 GB, free: 8.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/7.787, allocations: 7.938 kB / 0.5061 GB, free: 8.617 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)