Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",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.001631/0.001631, allocations: 104.6 kB / 16.27 MB, free: 5.93 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.001839/0.00184, allocations: 192.5 kB / 17.2 MB, free: 5.574 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.468/1.468, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2204/0.2204, allocations: 43.54 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.002309/0.002309, allocations: 73.91 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1247, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001845/0.1266, allocations: 0.4935 MB / 441.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1286, allocations: 1.534 MB / 442.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.1287, allocations: 8 kB / 442.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.1287, allocations: 3.938 kB / 442.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.212e-06/0.1287, allocations: 3.938 kB / 442.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009555/0.1297, allocations: 227.4 kB / 442.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.78e-05/0.1297, allocations: 0 / 442.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.1298, allocations: 0 / 442.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.1298, allocations: 0 / 442.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.689e-05/0.1298, allocations: 4 kB / 442.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.1298, allocations: 0 / 442.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008594/0.1307, allocations: 0.7025 MB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-06/0.1307, allocations: 0 / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.1308, allocations: 0 / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006858/0.1314, allocations: 0.6434 MB / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1315, allocations: 0 / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1315, allocations: 0 / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1315, allocations: 0 / 444.2 MB, free: 3.18 MB / 318.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.00049/0.132, allocations: 373.1 kB / 444.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.132, allocations: 15.89 kB / 444.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.1321, allocations: 30.75 kB / 444.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.1321, allocations: 4.938 kB / 444.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.759e-05/0.1321, allocations: 164.4 kB / 444.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1322, allocations: 384 / 444.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.1322, allocations: 384 / 444.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.1323, allocations: 37.77 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1323, allocations: 0 / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1323, allocations: 0 / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1323, allocations: 0 / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.813e-05/0.1323, allocations: 7.984 kB / 444.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.1325, allocations: 150 kB / 445 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.347e-05/0.1325, allocations: 18.56 kB / 445 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.1325, allocations: 8.953 kB / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.1325, allocations: 0 / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1326, allocations: 64.14 kB / 445.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1326, allocations: 0 / 445.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001567/0.1327, allocations: 71.48 kB / 445.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1328, allocations: 77.11 kB / 445.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.126e-05/0.1328, allocations: 89.86 kB / 445.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.1328, allocations: 25.7 kB / 445.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.12e-05/0.1328, allocations: 80.14 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1329, allocations: 7.938 kB / 445.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.1329, allocations: 9.719 kB / 445.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.1329, allocations: 318.8 kB / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.133, allocations: 8.031 kB / 445.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-06/0.133, allocations: 0 / 445.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.236e-05/0.133, allocations: 68.19 kB / 445.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.133, allocations: 0 / 445.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.697e-05/0.1331, allocations: 55.41 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.1331, allocations: 41.58 kB / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1331, allocations: 0 / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1331, allocations: 0 / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.1331, allocations: 0 / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1332, allocations: 4.094 kB / 445.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.1332, allocations: 4 kB / 445.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1332, allocations: 7.984 kB / 445.9 MB, free: 1.191 MB / 318.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 5.324e-05/0.1332, allocations: 135.5 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-06/0.1333, allocations: 3.938 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.756e-06/0.1333, allocations: 3.125 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1333, allocations: 4 kB / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.1333, allocations: 0 / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1333, allocations: 3.938 kB / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.327e-05/0.1334, allocations: 149.7 kB / 446.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1334, allocations: 4 kB / 446.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.1334, allocations: 0 / 446.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1334, allocations: 3.938 kB / 446.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1334, allocations: 4 kB / 446.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1334, allocations: 0 / 446.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1334, allocations: 0 / 446.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.676e-05/0.1335, allocations: 90.83 kB / 446.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.1335, allocations: 85.08 kB / 446.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.1335, allocations: 0 / 446.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-06/0.1335, allocations: 0 / 446.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.1336, allocations: 4 kB / 446.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1336, allocations: 4 kB / 446.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.226e-05/0.1336, allocations: 75.28 kB / 446.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1336, allocations: 0 / 446.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005059/0.1341, allocations: 120 kB / 446.6 MB, free: 416 kB / 318.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.001129/0.1352, allocations: 0.716 MB / 447.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.1354, allocations: 59.34 kB / 447.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1354, allocations: 0 / 447.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.1354, allocations: 63.33 kB / 447.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.1356, allocations: 4 kB / 447.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005258/0.1361, allocations: 122.6 kB / 447.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1364, allocations: 0.669 MB / 448.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.03e-05/0.1364, allocations: 128 / 448.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.1365, allocations: 11.44 kB / 448.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1365, allocations: 0 / 448.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.1634, allocations: 4.695 MB / 452.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.154, allocations: 10.5 kB / 453 MB, free: 9.949 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1)