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.001298/0.001298, allocations: 109.3 kB / 16.41 MB, free: 6.5 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.001258/0.001258, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.413/1.413, 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.215/0.215, allocations: 43.53 MB / 314.1 MB, free: 468 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.002075/0.002075, allocations: 68.47 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1275, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00205/0.1296, allocations: 0.4947 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009336/0.1389, allocations: 5.065 MB / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.139, allocations: 0 / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.139, allocations: 0 / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.1391, allocations: 0 / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00829/0.1474, allocations: 2.991 MB / 0.4957 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.1475, allocations: 7.984 kB / 0.4957 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.369e-05/0.1475, allocations: 3.984 kB / 0.4957 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.787e-05/0.1475, allocations: 0 / 0.4957 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.658e-05/0.1476, allocations: 7.938 kB / 0.4958 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.1476, allocations: 4 kB / 0.4958 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03209/0.1797, allocations: 18.81 MB / 0.5141 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.1798, allocations: 0 / 0.5141 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.1798, allocations: 0 / 0.5141 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2829/0.4627, allocations: 27.64 MB / 0.5411 GB, free: 20.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4628, allocations: 0 / 0.5411 GB, free: 20.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4628, allocations: 1.312 kB / 0.5411 GB, free: 20.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.4628, allocations: 0 / 0.5411 GB, free: 20.34 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.01912/0.4819, allocations: 0.6905 MB / 0.5418 GB, free: 19.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.482, allocations: 14.58 kB / 0.5418 GB, free: 19.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.4821, allocations: 33.28 kB / 0.5418 GB, free: 19.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.4821, allocations: 3 kB / 0.5418 GB, free: 19.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.199e-05/0.4822, allocations: 166.4 kB / 0.542 GB, free: 19.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4822, allocations: 3.109 kB / 0.542 GB, free: 19.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.4822, allocations: 0 / 0.542 GB, free: 19.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/0.4823, allocations: 34.09 kB / 0.542 GB, free: 19.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4823, allocations: 0 / 0.542 GB, free: 19.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.4824, allocations: 0 / 0.542 GB, free: 19.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.4824, allocations: 1.438 kB / 0.542 GB, free: 19.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.311e-05/0.4824, allocations: 4.797 kB / 0.542 GB, free: 19.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.4825, allocations: 151.9 kB / 0.5422 GB, free: 19.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.914e-05/0.4826, allocations: 17.56 kB / 0.5422 GB, free: 19.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.4826, allocations: 10.3 kB / 0.5422 GB, free: 19.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.4826, allocations: 0 / 0.5422 GB, free: 19.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.4827, allocations: 60.56 kB / 0.5423 GB, free: 19.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.4827, allocations: 0 / 0.5423 GB, free: 19.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001827/0.4829, allocations: 65.28 kB / 0.5423 GB, free: 19.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.4829, allocations: 79.09 kB / 0.5424 GB, free: 19.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.398e-05/0.483, allocations: 93.61 kB / 0.5425 GB, free: 18.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.483, allocations: 28.8 kB / 0.5425 GB, free: 18.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.183e-05/0.483, allocations: 80.14 kB / 0.5426 GB, free: 18.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.483, allocations: 0 / 0.5426 GB, free: 18.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.4831, allocations: 18.61 kB / 0.5426 GB, free: 18.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.4832, allocations: 315.5 kB / 0.5429 GB, free: 18.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.4832, allocations: 1.062 kB / 0.5429 GB, free: 18.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.093e-05/0.4832, allocations: 4.734 kB / 0.5429 GB, free: 18.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.4833, allocations: 64.41 kB / 0.543 GB, free: 18.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4833, allocations: 0 / 0.543 GB, free: 18.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.118e-05/0.4834, allocations: 64.36 kB / 0.5431 GB, free: 18.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.4834, allocations: 31.98 kB / 0.5431 GB, free: 18.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4834, allocations: 0 / 0.5431 GB, free: 18.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4834, allocations: 5.344 kB / 0.5431 GB, free: 18.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.944e-06/0.4835, allocations: 3.781 kB / 0.5431 GB, free: 18.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4835, allocations: 1.094 kB / 0.5431 GB, free: 18.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.4835, allocations: 0.8906 kB / 0.5431 GB, free: 18.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.4835, allocations: 1.094 kB / 0.5431 GB, free: 18.32 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.297e-05/0.4836, allocations: 138.5 kB / 0.5432 GB, free: 18.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.4836, allocations: 4.094 kB / 0.5432 GB, free: 18.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.4836, allocations: 4.641 kB / 0.5432 GB, free: 18.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4837, allocations: 0.9688 kB / 0.5432 GB, free: 18.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4837, allocations: 0 / 0.5432 GB, free: 18.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4837, allocations: 2.438 kB / 0.5432 GB, free: 18.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.168e-05/0.4838, allocations: 149.8 kB / 0.5434 GB, free: 17.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4838, allocations: 5.094 kB / 0.5434 GB, free: 17.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-06/0.4838, allocations: 0.9688 kB / 0.5434 GB, free: 17.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4838, allocations: 0 / 0.5434 GB, free: 17.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4838, allocations: 1.844 kB / 0.5434 GB, free: 17.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4838, allocations: 0.6094 kB / 0.5434 GB, free: 17.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4838, allocations: 3.781 kB / 0.5434 GB, free: 17.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.903e-05/0.4839, allocations: 96.2 kB / 0.5435 GB, free: 17.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.484, allocations: 85.23 kB / 0.5436 GB, free: 17.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.484, allocations: 3.453 kB / 0.5436 GB, free: 17.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.248e-05/0.484, allocations: 1.5 kB / 0.5436 GB, free: 17.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.484, allocations: 0.5156 kB / 0.5436 GB, free: 17.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.4841, allocations: 3.125 kB / 0.5436 GB, free: 17.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 1.387e-05/0.4841, allocations: 76.34 kB / 0.5436 GB, free: 17.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4841, allocations: 0.75 kB / 0.5436 GB, free: 17.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.02484/0.5089, allocations: 3.826 MB / 0.5474 GB, free: 17.6 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.0445/0.5535, allocations: 1.541 MB / 0.5489 GB, free: 16.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.5537, allocations: 63.91 kB / 0.549 GB, free: 16.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.5537, allocations: 0 / 0.549 GB, free: 16.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.5537, allocations: 59.98 kB / 0.549 GB, free: 16.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.554, allocations: 10.83 kB / 0.549 GB, free: 16.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/0.5728, allocations: 354.3 kB / 0.5494 GB, free: 16.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.573, allocations: 0.6725 MB / 0.55 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.019e-05/0.573, allocations: 0 / 0.55 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.573, allocations: 9.594 kB / 0.55 GB, free: 15.75 MB / 414.1 MB Notification: Performance of SimCode: time 1.113e-06/0.573, allocations: 0 / 0.55 GB, free: 15.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.235/0.808, allocations: 114.4 MB / 0.6618 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.48/18.28, allocations: 7.688 kB / 0.6618 GB, free: 1.633 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)