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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 97.91 kB / 20.48 MB, free: 1.367 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 210.9 kB / 23.78 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2445/0.2445, allocations: 44.27 MB / 331.1 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002427, allocations: 67.89 kB / 468.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1436, allocations: 61.04 MB / 0.5169 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.002244/0.1458, allocations: 0.5026 MB / 0.5174 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00902/0.1549, allocations: 4.734 MB / 0.522 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.1549, allocations: 0 / 0.522 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.1549, allocations: 3.938 kB / 0.522 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.518e-06/0.1549, allocations: 0 / 0.522 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01033/0.1652, allocations: 3.353 MB / 0.5253 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.3e-05/0.1653, allocations: 0 / 0.5253 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.1654, allocations: 0 / 0.5253 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.73e-05/0.1654, allocations: 0 / 0.5253 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.041e-05/0.1654, allocations: 7.938 kB / 0.5253 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.79e-06/0.1654, allocations: 0 / 0.5253 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3096/0.475, allocations: 20.08 MB / 0.5449 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.475, allocations: 1.797 kB / 0.5449 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.475, allocations: 1.406 kB / 0.5449 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05139/0.5264, allocations: 26.3 MB / 0.5706 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.5264, allocations: 0 / 0.5706 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5264, allocations: 0 / 0.5706 GB, free: 7.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.5264, allocations: 1.875 kB / 0.5706 GB, free: 7.312 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.0186/0.545, allocations: 0.6139 MB / 0.5712 GB, free: 6.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.5451, allocations: 10.25 kB / 0.5712 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.767e-05/0.5451, allocations: 3.312 kB / 0.5712 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.633e-05/0.5451, allocations: 30.75 kB / 0.5712 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.5452, allocations: 2.281 kB / 0.5712 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.4e-05/0.5452, allocations: 111.8 kB / 0.5713 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5452, allocations: 5.938 kB / 0.5713 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.5452, allocations: 2.625 kB / 0.5713 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.413e-05/0.5453, allocations: 58.61 kB / 0.5714 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.5453, allocations: 0 / 0.5714 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.5453, allocations: 0 / 0.5714 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.5453, allocations: 0 / 0.5714 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.322e-05/0.5454, allocations: 31.17 kB / 0.5714 GB, free: 6.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.139e-05/0.5455, allocations: 120.1 kB / 0.5715 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.677e-05/0.5455, allocations: 55.2 kB / 0.5716 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.5455, allocations: 33.72 kB / 0.5716 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.5455, allocations: 0 / 0.5716 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.5456, allocations: 56.27 kB / 0.5717 GB, free: 6.172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.5456, allocations: 0.5312 kB / 0.5717 GB, free: 6.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001868/0.5458, allocations: 126 kB / 0.5718 GB, free: 6.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.5458, allocations: 77.11 kB / 0.5719 GB, free: 5.945 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.884e-05/0.5458, allocations: 89.86 kB / 0.572 GB, free: 5.848 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.5458, allocations: 28.86 kB / 0.572 GB, free: 5.816 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.166e-05/0.5458, allocations: 80.14 kB / 0.5721 GB, free: 5.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.5458, allocations: 0 / 0.5721 GB, free: 5.734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.5459, allocations: 12.88 kB / 0.5721 GB, free: 5.719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.5459, allocations: 321.8 kB / 0.5724 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.5459, allocations: 28.27 kB / 0.5724 GB, free: 5.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.546, allocations: 32.91 kB / 0.5724 GB, free: 5.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.075e-05/0.546, allocations: 62.42 kB / 0.5725 GB, free: 5.262 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.546, allocations: 0 / 0.5725 GB, free: 5.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.118e-05/0.5461, allocations: 91.27 kB / 0.5726 GB, free: 5.164 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.5461, allocations: 39.5 kB / 0.5726 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5461, allocations: 0 / 0.5726 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5461, allocations: 0 / 0.5726 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.253e-06/0.5461, allocations: 3.156 kB / 0.5726 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5461, allocations: 0 / 0.5726 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.5461, allocations: 0 / 0.5726 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.5461, allocations: 0 / 0.5726 GB, free: 5.129 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.074e-05/0.5462, allocations: 141.6 kB / 0.5728 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.5462, allocations: 0.5156 kB / 0.5728 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.139e-05/0.5462, allocations: 7.406 kB / 0.5728 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.5462, allocations: 3.25 kB / 0.5728 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5462, allocations: 3.984 kB / 0.5728 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5462, allocations: 0 / 0.5728 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.538e-05/0.5463, allocations: 120.3 kB / 0.5729 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5463, allocations: 3.219 kB / 0.5729 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.5463, allocations: 0 / 0.5729 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5463, allocations: 0 / 0.5729 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.5463, allocations: 4 kB / 0.5729 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5463, allocations: 1.188 kB / 0.5729 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5463, allocations: 0.875 kB / 0.5729 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.039e-05/0.5464, allocations: 127.8 kB / 0.573 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-06/0.5464, allocations: 7.109 kB / 0.573 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.5464, allocations: 1.031 kB / 0.573 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.5464, allocations: 0 / 0.573 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.5464, allocations: 3.984 kB / 0.573 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.5464, allocations: 3.219 kB / 0.573 GB, free: 4.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 1.213e-05/0.5464, allocations: 75.28 kB / 0.5731 GB, free: 4.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5464, allocations: 0 / 0.5731 GB, free: 4.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.01839/0.5648, allocations: 3.823 MB / 0.5768 GB, free: 4.441 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.03549/0.6003, allocations: 1.57 MB / 0.5784 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.6004, allocations: 113.1 kB / 0.5785 GB, free: 3.367 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/0.6005, allocations: 2.406 kB / 0.5785 GB, free: 3.367 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.386e-05/0.6005, allocations: 80.27 kB / 0.5786 GB, free: 3.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.6006, allocations: 7.219 kB / 0.5786 GB, free: 3.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.6151, allocations: 401.1 kB / 0.579 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.6151, allocations: 58.5 kB / 0.579 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.642e-06/0.6151, allocations: 0 / 0.579 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.6151, allocations: 10.69 kB / 0.579 GB, free: 2.871 MB / 414.1 MB Notification: Performance of SimCode: time 1.654e-06/0.6151, allocations: 4.125 kB / 0.579 GB, free: 2.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1979/0.813, allocations: 114.6 MB / 0.691 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.62/20.43, allocations: 7.5 kB / 0.691 GB, free: 1.039 MB / 0.5137 GB " [Timeout remaining time 639] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.47623950894922] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 20.636623399914242 20.658092262 20.127372914 Calling exit ...