Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002054/0.002054, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002229/0.002229, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.517/1.517, allocations: 230.5 MB / 254.8 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.WriteRealMatrixToFile,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Utilities_Examples_WriteRealMatrixToFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.WriteRealMatrixToFile,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Utilities_Examples_WriteRealMatrixToFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 63.84 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1117, allocations: 53.34 MB / 427 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001659/0.1133, allocations: 481.3 kB / 427.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002801/0.1136, allocations: 67.78 kB / 427.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.1136, allocations: 0 / 427.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.1137, allocations: 7.938 kB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.915e-05/0.1138, allocations: 15.92 kB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.1139, allocations: 19.91 kB / 427.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.763e-05/0.114, allocations: 19.98 kB / 427.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.114, allocations: 8 kB / 427.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.1141, allocations: 11.98 kB / 427.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.167e-05/0.1142, allocations: 31.89 kB / 427.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1142, allocations: 0 / 427.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.143e-05/0.1142, allocations: 8 kB / 427.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.1143, allocations: 4 kB / 427.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.1143, allocations: 7.938 kB / 427.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.1144, allocations: 23.91 kB / 427.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1144, allocations: 3.938 kB / 427.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1144, allocations: 0 / 427.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1144, allocations: 4 kB / 427.7 MB, free: 4.137 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003982/0.1148, allocations: 369 kB / 428 MB, free: 3.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1149, allocations: 8.031 kB / 428.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.009e-05/0.1149, allocations: 42.7 kB / 428.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.115, allocations: 8.891 kB / 428.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.1151, allocations: 168.3 kB / 428.3 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1151, allocations: 8.359 kB / 428.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.1151, allocations: 384 / 428.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1153, allocations: 74.23 kB / 428.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1153, allocations: 7.938 kB / 428.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1153, allocations: 0 / 428.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1153, allocations: 0 / 428.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.283e-05/0.1153, allocations: 27.98 kB / 428.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.1156, allocations: 256.8 kB / 428.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1157, allocations: 66.5 kB / 428.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.1158, allocations: 44.89 kB / 428.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.1158, allocations: 8 kB / 428.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.365e-05/0.1158, allocations: 60.2 kB / 428.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.1158, allocations: 0 / 428.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003641/0.1162, allocations: 215.2 kB / 429 MB, free: 2.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.1163, allocations: 81.09 kB / 429.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.1164, allocations: 109.8 kB / 429.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1164, allocations: 29.7 kB / 429.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.1164, allocations: 84.14 kB / 429.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1165, allocations: 19.86 kB / 429.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.1165, allocations: 25.7 kB / 429.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1166, allocations: 314.8 kB / 429.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/0.1167, allocations: 27.98 kB / 429.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.1167, allocations: 35.98 kB / 429.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1169, allocations: 136.4 kB / 429.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1169, allocations: 0 / 429.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001993/0.1171, allocations: 175.2 kB / 430 MB, free: 1.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.1171, allocations: 37.69 kB / 430.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1171, allocations: 4 kB / 430.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1171, allocations: 0 / 430.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.979e-05/0.1171, allocations: 4 kB / 430.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1172, allocations: 0 / 430.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.517e-05/0.1172, allocations: 8.312 kB / 430.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1172, allocations: 4 kB / 430.1 MB, free: 1.441 MB / 350.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: 8 ($outputAlias_success4,success4,$outputAlias_success3,success3,$outputAlias_success2,success2,$outputAlias_success1,success1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 0.0001165/0.1173, allocations: 151.5 kB / 430.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.1173, allocations: 11.89 kB / 430.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.1174, allocations: 8.375 kB / 430.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1174, allocations: 4 kB / 430.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1174, allocations: 4 kB / 430.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1174, allocations: 3.984 kB / 430.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.1178, allocations: 440.5 kB / 430.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1178, allocations: 0 / 430.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-06/0.1179, allocations: 0 / 430.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1179, allocations: 0 / 430.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.1179, allocations: 7.984 kB / 430.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1179, allocations: 3.984 kB / 430.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1179, allocations: 0 / 430.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1181, allocations: 293 kB / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.1182, allocations: 85.11 kB / 431.1 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1182, allocations: 0 / 431.1 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.1183, allocations: 4 kB / 431.1 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.1183, allocations: 0 / 431.1 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.1183, allocations: 4 kB / 431.1 MB, free: 332 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.024e-05/0.1183, allocations: 91.27 kB / 431.2 MB, free: 240 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1183, allocations: 4 kB / 431.2 MB, free: 236 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.1186, allocations: 15.94 kB / 431.2 MB, free: 220 kB / 350.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: 8 (success1,$outputAlias_success1,success2,$outputAlias_success2,success3,$outputAlias_success3,success4,$outputAlias_success4) * Number of discrete states: 4 ($outputAlias_success4,$outputAlias_success3,$outputAlias_success2,$outputAlias_success1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0009154/0.1195, allocations: 0.9088 MB / 432.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1197, allocations: 135.8 kB / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1197, allocations: 0 / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1198, allocations: 99.31 kB / 432.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.12, allocations: 10.23 kB / 432.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.1216, allocations: 1.555 MB / 433.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.122, allocations: 0.6807 MB / 434.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.637e-05/0.122, allocations: 4 kB / 434.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.122, allocations: 15.53 kB / 434.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.122, allocations: 0 / 434.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.1492, allocations: 1.927 MB / 436.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.325, allocations: 5.453 kB / 436.5 MB, free: 10.85 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 Modelica_4_1_0-beta_om_Modelica_Utilities_Examples_WriteRealMatrixToFile.fmu > Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.114378903992474] Failed to read output from testmodel.py, exit status != 0: ['time', 'success1', 'success2', 'success3', 'success4'] 8.44726448180154 8.661331557 8.543421608 Calling exit ...