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.0009482/0.0009482, allocations: 91.62 kB / 15.7 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 176.1 kB / 16.58 MB, free: 5.922 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.682/1.682, allocations: 205.4 MB / 222.7 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3234/0.3234, allocations: 43.55 MB / 314.6 MB, free: 8.781 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.0005668/0.0005672, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.111, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0006216/0.1117, allocations: 224.4 kB / 443.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.1146, allocations: 2.052 MB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.1147, allocations: 8 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.1147, allocations: 0 / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.867e-06/0.1147, allocations: 0 / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.1168, allocations: 0.6238 MB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.346e-05/0.1168, allocations: 7.922 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.1169, allocations: 0 / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.926e-05/0.1169, allocations: 0 / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.503e-05/0.117, allocations: 0 / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.63e-06/0.117, allocations: 0 / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/0.1192, allocations: 1.354 MB / 447.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-06/0.1193, allocations: 0 / 447.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.1193, allocations: 29.7 kB / 447.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.1207, allocations: 1.146 MB / 448.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1208, allocations: 3.938 kB / 448.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1208, allocations: 0 / 448.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1208, allocations: 0 / 448.3 MB, free: 7.496 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.0008088/0.1216, allocations: 413.1 kB / 448.7 MB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1216, allocations: 8.031 kB / 448.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.1217, allocations: 30.56 kB / 448.8 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.1217, allocations: 3.953 kB / 448.8 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.806e-05/0.1218, allocations: 159.4 kB / 448.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1218, allocations: 0 / 448.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1219, allocations: 4 kB / 448.9 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.47e-05/0.122, allocations: 33.64 kB / 448.9 MB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.122, allocations: 4 kB / 449 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.122, allocations: 3.984 kB / 449 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.122, allocations: 7.953 kB / 449 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.84e-05/0.122, allocations: 0 / 449 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.1222, allocations: 141.7 kB / 449.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.477e-05/0.1222, allocations: 18.61 kB / 449.1 MB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.1222, allocations: 8.797 kB / 449.1 MB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.1223, allocations: 0 / 449.1 MB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/0.1223, allocations: 64.27 kB / 449.2 MB, free: 6.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 3.527e-06/0.1223, allocations: 0 / 449.2 MB, free: 6.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000194/0.1225, allocations: 67.39 kB / 449.3 MB, free: 6.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.1226, allocations: 77.11 kB / 449.3 MB, free: 6.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.662e-05/0.1226, allocations: 101.8 kB / 449.4 MB, free: 6.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1227, allocations: 25.7 kB / 449.5 MB, free: 6.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/0.1227, allocations: 80.14 kB / 449.5 MB, free: 6.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1227, allocations: 7.938 kB / 449.5 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.1227, allocations: 4.125 kB / 449.5 MB, free: 6.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1229, allocations: 314.8 kB / 449.9 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.1229, allocations: 0 / 449.9 MB, free: 5.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.1229, allocations: 7.938 kB / 449.9 MB, free: 5.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.1229, allocations: 25.7 kB / 449.9 MB, free: 5.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1229, allocations: 0 / 449.9 MB, free: 5.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.349e-05/0.123, allocations: 59.41 kB / 449.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.1231, allocations: 29.7 kB / 450 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1231, allocations: 8.078 kB / 450 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1231, allocations: 0 / 450 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.1231, allocations: 0 / 450 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1231, allocations: 8 kB / 450 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.1231, allocations: 0 / 450 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.1232, allocations: 3.953 kB / 450 MB, free: 5.543 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.1233, allocations: 143.5 kB / 450.1 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-06/0.1233, allocations: 0 / 450.1 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.254e-05/0.1233, allocations: 3.125 kB / 450.1 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1233, allocations: 4 kB / 450.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1233, allocations: 0 / 450.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1233, allocations: 0 / 450.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.925e-05/0.1234, allocations: 157.6 kB / 450.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1234, allocations: 0 / 450.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.1234, allocations: 3.938 kB / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1235, allocations: 0 / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.1235, allocations: 0 / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1235, allocations: 0 / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1235, allocations: 3.984 kB / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.668e-05/0.1236, allocations: 98.78 kB / 450.4 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.1236, allocations: 77.11 kB / 450.5 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.1236, allocations: 0 / 450.5 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.147e-05/0.1237, allocations: 7.938 kB / 450.5 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.1237, allocations: 0 / 450.5 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1237, allocations: 3.984 kB / 450.5 MB, free: 4.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.851e-05/0.1237, allocations: 79.28 kB / 450.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1237, allocations: 0 / 450.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001104/0.1248, allocations: 276 kB / 450.8 MB, free: 4.594 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002552/0.1274, allocations: 0.9289 MB / 451.8 MB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.1276, allocations: 59.41 kB / 451.8 MB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1276, allocations: 0 / 451.8 MB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-05/0.1277, allocations: 55.41 kB / 451.9 MB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.1278, allocations: 8.125 kB / 451.9 MB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1289, allocations: 164.2 kB / 452 MB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1292, allocations: 0.6731 MB / 452.7 MB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.779e-06/0.1292, allocations: 0 / 452.7 MB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.1292, allocations: 11.44 kB / 452.7 MB, free: 2.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.1292, allocations: 0 / 452.7 MB, free: 2.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2024/0.3316, allocations: 8.266 MB / 461 MB, free: 42.65 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000126/0.3318, allocations: 204.5 kB / 461.2 MB, free: 42.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.383, allocations: 0 / 461.2 MB, free: 42.42 MB / 382.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/linux/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) Environment - environmentSimulation: