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.001411/0.001411, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001982/0.001982, allocations: 215.2 kB / 22.99 MB, free: 4.602 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.714/1.714, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.3327/0.3327, allocations: 44.25 MB / 330.3 MB, free: 9.332 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="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"}) [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.002252/0.002252, allocations: 67.91 kB / 467.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1248, allocations: 61.04 MB / 0.5161 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001728/0.1265, allocations: 0.5103 MB / 0.5166 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008112/0.1346, allocations: 4.731 MB / 0.5212 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.1346, allocations: 3.938 kB / 0.5213 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.368e-06/0.1346, allocations: 0 / 0.5213 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.409e-06/0.1346, allocations: 0 / 0.5213 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00843/0.1431, allocations: 3.342 MB / 0.5245 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.527e-05/0.1431, allocations: 0 / 0.5245 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.1432, allocations: 4 kB / 0.5245 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.48e-05/0.1432, allocations: 0 / 0.5245 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.879e-05/0.1432, allocations: 7.922 kB / 0.5245 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.982e-06/0.1432, allocations: 0 / 0.5245 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.277/0.4202, allocations: 19.9 MB / 0.544 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.4202, allocations: 1.656 kB / 0.544 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.4202, allocations: 2.422 kB / 0.544 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04956/0.4698, allocations: 26.3 MB / 0.5696 GB, free: 7.473 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.4698, allocations: 1.594 kB / 0.5696 GB, free: 7.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4698, allocations: 0 / 0.5696 GB, free: 7.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.4698, allocations: 1.5 kB / 0.5696 GB, free: 7.473 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.01454/0.4844, allocations: 0.6154 MB / 0.5702 GB, free: 6.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4844, allocations: 10.44 kB / 0.5703 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.4844, allocations: 30.75 kB / 0.5703 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.4845, allocations: 2.422 kB / 0.5703 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.619e-05/0.4845, allocations: 108.7 kB / 0.5704 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4845, allocations: 3.188 kB / 0.5704 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.4845, allocations: 0 / 0.5704 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.703e-05/0.4846, allocations: 62.39 kB / 0.5705 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4846, allocations: 3.938 kB / 0.5705 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.4846, allocations: 0 / 0.5705 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4846, allocations: 0 / 0.5705 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.4847, allocations: 28.86 kB / 0.5705 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.399e-05/0.4848, allocations: 121.6 kB / 0.5706 GB, free: 6.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.165e-05/0.4848, allocations: 44.81 kB / 0.5706 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.4848, allocations: 37.77 kB / 0.5707 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.4848, allocations: 0 / 0.5707 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.4849, allocations: 61.23 kB / 0.5707 GB, free: 6.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.4849, allocations: 0 / 0.5707 GB, free: 6.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000162/0.485, allocations: 120.4 kB / 0.5709 GB, free: 6.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.485, allocations: 78.36 kB / 0.5709 GB, free: 6.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.873e-05/0.4851, allocations: 89.86 kB / 0.571 GB, free: 6.008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.4851, allocations: 28.89 kB / 0.571 GB, free: 5.977 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.032e-05/0.4851, allocations: 80.67 kB / 0.5711 GB, free: 5.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.4851, allocations: 0 / 0.5711 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.4852, allocations: 18.31 kB / 0.5711 GB, free: 5.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.176e-05/0.4852, allocations: 314.8 kB / 0.5714 GB, free: 5.559 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.4852, allocations: 30.8 kB / 0.5715 GB, free: 5.527 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.038e-05/0.4852, allocations: 28.73 kB / 0.5715 GB, free: 5.496 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/0.4853, allocations: 63.44 kB / 0.5716 GB, free: 5.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4853, allocations: 0 / 0.5716 GB, free: 5.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.45e-05/0.4853, allocations: 94.05 kB / 0.5716 GB, free: 5.324 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.4853, allocations: 32.05 kB / 0.5717 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4854, allocations: 3.984 kB / 0.5717 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4854, allocations: 0 / 0.5717 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.4854, allocations: 3.25 kB / 0.5717 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4854, allocations: 0 / 0.5717 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.4854, allocations: 0 / 0.5717 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.4854, allocations: 0 / 0.5717 GB, free: 5.289 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.142e-05/0.4855, allocations: 139.6 kB / 0.5718 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-06/0.4855, allocations: 1.891 kB / 0.5718 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.4855, allocations: 8.438 kB / 0.5718 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.4855, allocations: 0 / 0.5718 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4855, allocations: 0 / 0.5718 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4855, allocations: 3.438 kB / 0.5718 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.274e-05/0.4856, allocations: 131.9 kB / 0.5719 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.4856, allocations: 3.75 kB / 0.572 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.4856, allocations: 0 / 0.572 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4856, allocations: 0 / 0.572 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.4856, allocations: 0 / 0.572 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.4856, allocations: 0 / 0.572 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4856, allocations: 0 / 0.572 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.142e-05/0.4856, allocations: 124.5 kB / 0.5721 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.4857, allocations: 7.828 kB / 0.5721 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.4857, allocations: 0 / 0.5721 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.4857, allocations: 3.75 kB / 0.5721 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.4857, allocations: 1.969 kB / 0.5721 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.4857, allocations: 8.016 kB / 0.5721 GB, free: 4.828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 1.281e-05/0.4857, allocations: 75.28 kB / 0.5722 GB, free: 4.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 4e-08/0.4857, allocations: 0 / 0.5722 GB, free: 4.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.02291/0.5086, allocations: 3.826 MB / 0.5759 GB, free: 4.594 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.03951/0.5481, allocations: 1.568 MB / 0.5774 GB, free: 3.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.5483, allocations: 123.8 kB / 0.5776 GB, free: 3.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5483, allocations: 0 / 0.5776 GB, free: 3.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.199e-05/0.5484, allocations: 84.27 kB / 0.5776 GB, free: 3.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.5485, allocations: 0 / 0.5776 GB, free: 3.422 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/0.5634, allocations: 392.9 kB / 0.578 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.869e-05/0.5634, allocations: 54.55 kB / 0.5781 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.434e-06/0.5634, allocations: 0 / 0.5781 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.5635, allocations: 17.81 kB / 0.5781 GB, free: 3.031 MB / 414.1 MB Notification: Performance of SimCode: time 1.313e-06/0.5635, allocations: 0 / 0.5781 GB, free: 3.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2008/0.7643, allocations: 115 MB / 0.6904 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.65/20.42, allocations: 8.016 kB / 0.6904 GB, free: 0.8672 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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.973050279077142] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 20.561407405883074 20.583267498 20.108749805 Calling exit ...