Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.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.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",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.001659/0.00166, allocations: 101.8 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.001765/0.001765, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.408/1.408, 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.2068/0.2068, allocations: 43.53 MB / 314.1 MB, free: 452 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.001561/0.001561, allocations: 59.91 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1284, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001895/0.1303, allocations: 0.4986 MB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008947/0.1393, allocations: 5.066 MB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.1394, allocations: 0 / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.1395, allocations: 0 / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.077e-06/0.1395, allocations: 0 / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008665/0.1482, allocations: 2.991 MB / 0.4957 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.1483, allocations: 7.984 kB / 0.4957 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.1483, allocations: 0 / 0.4957 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.656e-05/0.1483, allocations: 3.938 kB / 0.4957 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.852e-05/0.1484, allocations: 4 kB / 0.4957 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.191e-06/0.1484, allocations: 0 / 0.4957 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02652/0.1749, allocations: 18.81 MB / 0.5141 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.175, allocations: 0 / 0.5141 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.175, allocations: 0 / 0.5141 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3127/0.4877, allocations: 27.63 MB / 0.5411 GB, free: 20.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.4878, allocations: 1.125 kB / 0.5411 GB, free: 20.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4878, allocations: 0 / 0.5411 GB, free: 20.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.4878, allocations: 0 / 0.5411 GB, free: 20.35 MB / 414.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.01888/0.5067, allocations: 0.6639 MB / 0.5418 GB, free: 19.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.5068, allocations: 14.17 kB / 0.5418 GB, free: 19.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.6e-05/0.5068, allocations: 31.5 kB / 0.5418 GB, free: 19.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.5068, allocations: 3.672 kB / 0.5418 GB, free: 19.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.568e-05/0.5069, allocations: 170.2 kB / 0.542 GB, free: 19.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.5069, allocations: 3.344 kB / 0.542 GB, free: 19.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.507, allocations: 0 / 0.542 GB, free: 19.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.5071, allocations: 34.23 kB / 0.542 GB, free: 19.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.5071, allocations: 0 / 0.542 GB, free: 19.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.5071, allocations: 0 / 0.542 GB, free: 19.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5071, allocations: 4.938 kB / 0.542 GB, free: 19.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.5071, allocations: 3.344 kB / 0.542 GB, free: 19.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.5072, allocations: 148.7 kB / 0.5421 GB, free: 19.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.188e-05/0.5073, allocations: 21.19 kB / 0.5422 GB, free: 19.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.5073, allocations: 6.891 kB / 0.5422 GB, free: 19.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.5073, allocations: 0 / 0.5422 GB, free: 19.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.5074, allocations: 64.3 kB / 0.5422 GB, free: 19.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.5074, allocations: 0 / 0.5422 GB, free: 19.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001781/0.5076, allocations: 65.12 kB / 0.5423 GB, free: 19.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.5076, allocations: 79.91 kB / 0.5424 GB, free: 19.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.53e-05/0.5076, allocations: 89.86 kB / 0.5425 GB, free: 19.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.5077, allocations: 26.86 kB / 0.5425 GB, free: 19.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/0.5077, allocations: 80.84 kB / 0.5426 GB, free: 18.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.5077, allocations: 2.406 kB / 0.5426 GB, free: 18.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.5077, allocations: 14.98 kB / 0.5426 GB, free: 18.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.5078, allocations: 319.7 kB / 0.5429 GB, free: 18.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-06/0.5078, allocations: 0 / 0.5429 GB, free: 18.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-06/0.5078, allocations: 4.609 kB / 0.5429 GB, free: 18.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.724e-05/0.5079, allocations: 63.38 kB / 0.5429 GB, free: 18.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5079, allocations: 0 / 0.5429 GB, free: 18.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.737e-05/0.508, allocations: 65.08 kB / 0.543 GB, free: 18.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.508, allocations: 32.52 kB / 0.543 GB, free: 18.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.508, allocations: 3.094 kB / 0.543 GB, free: 18.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.508, allocations: 0.7031 kB / 0.543 GB, free: 18.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.304e-06/0.5081, allocations: 4.297 kB / 0.543 GB, free: 18.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.5081, allocations: 0.6875 kB / 0.543 GB, free: 18.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.5081, allocations: 1.062 kB / 0.543 GB, free: 18.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.5081, allocations: 3.234 kB / 0.5431 GB, free: 18.43 MB / 414.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 6.635e-05/0.5082, allocations: 139.1 kB / 0.5432 GB, free: 18.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.5082, allocations: 3.812 kB / 0.5432 GB, free: 18.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.601e-05/0.5082, allocations: 5.531 kB / 0.5432 GB, free: 18.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.5082, allocations: 1.125 kB / 0.5432 GB, free: 18.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5082, allocations: 2.984 kB / 0.5432 GB, free: 18.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.5082, allocations: 1.125 kB / 0.5432 GB, free: 18.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.593e-05/0.5083, allocations: 150 kB / 0.5433 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5083, allocations: 0 / 0.5433 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-06/0.5083, allocations: 1.828 kB / 0.5433 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5083, allocations: 0 / 0.5433 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.5083, allocations: 4.062 kB / 0.5433 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5084, allocations: 0.5625 kB / 0.5433 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5084, allocations: 5.125 kB / 0.5434 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.22e-05/0.5085, allocations: 93.25 kB / 0.5434 GB, free: 17.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.5085, allocations: 79.83 kB / 0.5435 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.5085, allocations: 4.375 kB / 0.5435 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.109e-05/0.5085, allocations: 0.75 kB / 0.5435 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/0.5085, allocations: 0 / 0.5435 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.5086, allocations: 2.25 kB / 0.5435 GB, free: 17.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 1.528e-05/0.5086, allocations: 82.78 kB / 0.5436 GB, free: 17.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5086, allocations: 0 / 0.5436 GB, free: 17.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.02314/0.5317, allocations: 3.822 MB / 0.5473 GB, free: 17.73 MB / 414.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.04775/0.5795, allocations: 1.526 MB / 0.5488 GB, free: 16.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.5797, allocations: 64.08 kB / 0.5489 GB, free: 16.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5798, allocations: 0 / 0.5489 GB, free: 16.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.877e-05/0.5798, allocations: 58.75 kB / 0.5489 GB, free: 16.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.58, allocations: 7.156 kB / 0.549 GB, free: 16.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.5954, allocations: 360.5 kB / 0.5493 GB, free: 16.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.5956, allocations: 0.6717 MB / 0.55 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.696e-06/0.5956, allocations: 2.031 kB / 0.55 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.5956, allocations: 11.09 kB / 0.55 GB, free: 15.9 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5956, allocations: 0 / 0.55 GB, free: 15.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1846/0.7802, allocations: 114.4 MB / 0.6617 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.89/16.67, allocations: 12 kB / 0.6617 GB, free: 1.824 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe 2>&1)