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.001208/0.001208, allocations: 103 kB / 16.27 MB, free: 5.973 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.001238/0.001238, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.366/1.366, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2227/0.2227, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.001725/0.001725, allocations: 66.75 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1264, allocations: 57.79 MB / 440.6 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001872/0.1283, allocations: 0.5013 MB / 441.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.1308, allocations: 2.122 MB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.1308, allocations: 7.938 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.1308, allocations: 0 / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.979e-06/0.1309, allocations: 0 / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.1328, allocations: 0.7127 MB / 444 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.867e-05/0.1329, allocations: 4 kB / 444 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.1329, allocations: 4 kB / 444 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.568e-05/0.133, allocations: 0 / 444 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.92e-05/0.133, allocations: 3.984 kB / 444 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-06/0.133, allocations: 3.938 kB / 444 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.1346, allocations: 1.412 MB / 445.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.1347, allocations: 0 / 445.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.1347, allocations: 0 / 445.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.1362, allocations: 1.567 MB / 446.9 MB, free: 492 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1362, allocations: 0 / 446.9 MB, free: 492 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1362, allocations: 0 / 446.9 MB, free: 492 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.1362, allocations: 0 / 446.9 MB, free: 492 kB / 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.0007743/0.137, allocations: 417.2 kB / 447.4 MB, free: 20 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.137, allocations: 11.89 kB / 447.4 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.1371, allocations: 34.75 kB / 447.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.1371, allocations: 0.9375 kB / 447.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.11e-05/0.1372, allocations: 160.4 kB / 447.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1372, allocations: 384 / 447.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.1372, allocations: 3.938 kB / 447.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.034e-05/0.1373, allocations: 33.69 kB / 447.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1373, allocations: 3.938 kB / 447.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1374, allocations: 4 kB / 447.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1374, allocations: 3.938 kB / 447.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.1374, allocations: 3.938 kB / 447.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.1375, allocations: 149.7 kB / 447.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.04e-05/0.1376, allocations: 18.52 kB / 447.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.1376, allocations: 8.844 kB / 447.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.1376, allocations: 4.094 kB / 447.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.1377, allocations: 64.25 kB / 447.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1377, allocations: 0 / 447.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001851/0.1379, allocations: 67.34 kB / 447.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.1379, allocations: 77.11 kB / 448 MB, free: 15.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.991e-05/0.138, allocations: 89.86 kB / 448.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.138, allocations: 25.7 kB / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.138, allocations: 80.14 kB / 448.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.1381, allocations: 3.984 kB / 448.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.1381, allocations: 17.84 kB / 448.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1382, allocations: 310.8 kB / 448.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.1383, allocations: 4 kB / 448.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-06/0.1383, allocations: 4 kB / 448.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.631e-05/0.1383, allocations: 56.27 kB / 448.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1383, allocations: 4 kB / 448.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.405e-05/0.1384, allocations: 67.27 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.1385, allocations: 37.8 kB / 448.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1385, allocations: 0 / 448.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1385, allocations: 0 / 448.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.1385, allocations: 0 / 448.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1385, allocations: 0 / 448.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.1385, allocations: 0 / 448.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1385, allocations: 0 / 448.7 MB, free: 14.47 MB / 334.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 9.033e-05/0.1386, allocations: 143.5 kB / 448.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.1387, allocations: 7.922 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.127e-05/0.1387, allocations: 3.125 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1387, allocations: 4 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1387, allocations: 0 / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1387, allocations: 4 kB / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.346e-05/0.1388, allocations: 145.6 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1388, allocations: 0 / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-07/0.1388, allocations: 3.938 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1388, allocations: 3.984 kB / 449 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1388, allocations: 4 kB / 449 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1388, allocations: 4 kB / 449 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1388, allocations: 3.938 kB / 449 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.615e-05/0.139, allocations: 94.72 kB / 449.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.139, allocations: 85.09 kB / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.139, allocations: 0 / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-06/0.139, allocations: 0 / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.1391, allocations: 0 / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1391, allocations: 0 / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.685e-05/0.1391, allocations: 75.28 kB / 449.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1391, allocations: 8.031 kB / 449.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001019/0.1401, allocations: 280 kB / 449.5 MB, free: 13.51 MB / 334.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.001819/0.1419, allocations: 0.9342 MB / 450.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.743e-05/0.1421, allocations: 55.41 kB / 450.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1421, allocations: 4 kB / 450.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.1421, allocations: 63.45 kB / 450.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.1423, allocations: 0 / 450.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.1429, allocations: 166.5 kB / 450.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.1431, allocations: 0.669 MB / 451.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.131e-06/0.1432, allocations: 0 / 451.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.1432, allocations: 11.44 kB / 451.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1432, allocations: 0 / 451.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/0.1774, allocations: 8.309 MB / 459.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.318, allocations: 7.344 kB / 459.7 MB, free: 3.176 MB / 334.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)