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.00133/0.00133, allocations: 109 kB / 20.48 MB, free: 1.477 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.001442/0.001442, allocations: 207.9 kB / 23.78 MB, free: 4.688 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.472/1.472, allocations: 207.6 MB / 234.6 MB, free: 9.973 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.237/0.237, allocations: 44.24 MB / 331.1 MB, free: 9.508 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.002206/0.002206, allocations: 67.91 kB / 468.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.133, allocations: 61.03 MB / 0.5169 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001713/0.1347, allocations: 0.5023 MB / 0.5174 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008832/0.1435, allocations: 5.127 MB / 0.5224 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.1436, allocations: 3.938 kB / 0.5224 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.1436, allocations: 0 / 0.5224 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.574e-06/0.1436, allocations: 0 / 0.5224 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009505/0.1531, allocations: 3.342 MB / 0.5257 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.1532, allocations: 4 kB / 0.5257 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.1532, allocations: 0 / 0.5257 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.653e-05/0.1532, allocations: 0 / 0.5257 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.978e-05/0.1533, allocations: 7.922 kB / 0.5257 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.1533, allocations: 0 / 0.5257 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3053/0.4586, allocations: 21.07 MB / 0.5463 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.4586, allocations: 1.031 kB / 0.5463 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.4586, allocations: 3.219 kB / 0.5463 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05753/0.5162, allocations: 27.77 MB / 0.5734 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.5162, allocations: 0 / 0.5734 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5162, allocations: 0.75 kB / 0.5734 GB, free: 5.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.5162, allocations: 0 / 0.5734 GB, free: 5.609 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.01905/0.5352, allocations: 0.6164 MB / 0.574 GB, free: 5.066 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.5353, allocations: 9.688 kB / 0.574 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.032e-05/0.5353, allocations: 5.438 kB / 0.574 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.612e-05/0.5353, allocations: 30.75 kB / 0.574 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.5354, allocations: 4.844 kB / 0.574 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.784e-05/0.5354, allocations: 109.2 kB / 0.5741 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.5354, allocations: 0 / 0.5741 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.5354, allocations: 3.25 kB / 0.5741 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.467e-05/0.5355, allocations: 32.55 kB / 0.5742 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.5355, allocations: 2.281 kB / 0.5742 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.5355, allocations: 4 kB / 0.5742 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5355, allocations: 3.156 kB / 0.5742 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.805e-05/0.5356, allocations: 0 / 0.5742 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.716e-05/0.5357, allocations: 121.5 kB / 0.5743 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.431e-05/0.5357, allocations: 22.41 kB / 0.5743 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.5357, allocations: 8.578 kB / 0.5743 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.116e-06/0.5357, allocations: 1.375 kB / 0.5743 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.5358, allocations: 62.61 kB / 0.5744 GB, free: 4.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.5358, allocations: 1.312 kB / 0.5744 GB, free: 4.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001766/0.5359, allocations: 64.2 kB / 0.5744 GB, free: 4.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.536, allocations: 88.3 kB / 0.5745 GB, free: 4.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.133e-05/0.536, allocations: 89.86 kB / 0.5746 GB, free: 4.332 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.536, allocations: 25.7 kB / 0.5746 GB, free: 4.301 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.05e-05/0.536, allocations: 80.73 kB / 0.5747 GB, free: 4.219 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.536, allocations: 0.5625 kB / 0.5747 GB, free: 4.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.536, allocations: 20.59 kB / 0.5747 GB, free: 4.199 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.442e-05/0.5361, allocations: 314.8 kB / 0.575 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.5361, allocations: 3.188 kB / 0.575 GB, free: 3.883 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-06/0.5361, allocations: 0 / 0.575 GB, free: 3.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.381e-05/0.5362, allocations: 64 kB / 0.5751 GB, free: 3.809 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5362, allocations: 0 / 0.5751 GB, free: 3.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.122e-05/0.5362, allocations: 64.59 kB / 0.5752 GB, free: 3.742 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.5362, allocations: 33.95 kB / 0.5752 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5362, allocations: 0 / 0.5752 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5363, allocations: 0 / 0.5752 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.5363, allocations: 3.094 kB / 0.5752 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5363, allocations: 1.562 kB / 0.5752 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.5363, allocations: 3.594 kB / 0.5752 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.5363, allocations: 3.984 kB / 0.5752 GB, free: 3.707 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 5.321e-05/0.5363, allocations: 135.5 kB / 0.5753 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.5363, allocations: 3.891 kB / 0.5753 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.355e-05/0.5364, allocations: 8.438 kB / 0.5753 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.5364, allocations: 0 / 0.5753 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5364, allocations: 0 / 0.5753 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5364, allocations: 3.938 kB / 0.5753 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.227e-05/0.5364, allocations: 128.5 kB / 0.5755 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.5364, allocations: 0 / 0.5755 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-07/0.5364, allocations: 0 / 0.5755 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.5364, allocations: 0 / 0.5755 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.5364, allocations: 0 / 0.5755 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5364, allocations: 3.156 kB / 0.5755 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5364, allocations: 6.188 kB / 0.5755 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.794e-05/0.5365, allocations: 93.48 kB / 0.5756 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-06/0.5365, allocations: 3.953 kB / 0.5756 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.5365, allocations: 4.656 kB / 0.5756 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-06/0.5365, allocations: 2 kB / 0.5756 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.5365, allocations: 0 / 0.5756 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.5365, allocations: 0 / 0.5756 GB, free: 3.281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 1.452e-05/0.5366, allocations: 75.28 kB / 0.5756 GB, free: 3.207 MB / 414.1 MB Notification: Performance of sort global known variables: time 4e-08/0.5366, allocations: 3.219 kB / 0.5757 GB, free: 3.207 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.01762/0.5542, allocations: 3.826 MB / 0.5794 GB, free: 3.047 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.0433/0.5975, allocations: 1.543 MB / 0.5809 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.5976, allocations: 63.41 kB / 0.581 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5976, allocations: 1.875 kB / 0.581 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.78e-05/0.5976, allocations: 51.41 kB / 0.581 GB, free: 1.801 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.5978, allocations: 4 kB / 0.581 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.6124, allocations: 360.7 kB / 0.5814 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.6125, allocations: 0.6768 MB / 0.582 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.498e-06/0.6125, allocations: 3 kB / 0.582 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.6125, allocations: 11.44 kB / 0.582 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of SimCode: time 1.764e-06/0.6125, allocations: 6.875 kB / 0.582 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2204/0.833, allocations: 114.6 MB / 0.6939 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.48/20.31, allocations: 15.23 kB / 0.694 GB, free: 13.93 MB / 0.5294 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.335472143022344] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 20.51715430401964 20.53922382 20.019633448 Calling exit ...