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.001433/0.001433, allocations: 105 kB / 19.74 MB, free: 2.453 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.001554/0.001554, allocations: 216.5 kB / 22.92 MB, free: 5.195 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.279/1.279, allocations: 230.4 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] 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.001768/0.001768, allocations: 63.89 kB / 376 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2081, allocations: 53.31 MB / 429.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.00139/0.2095, allocations: 496.5 kB / 429.8 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002194/0.2097, allocations: 58.95 kB / 429.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.2098, allocations: 8 kB / 429.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.2098, allocations: 3.938 kB / 429.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.2099, allocations: 15.97 kB / 429.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.21, allocations: 15.92 kB / 429.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.557e-05/0.2101, allocations: 23.97 kB / 430 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.2101, allocations: 7.984 kB / 430 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.2101, allocations: 8 kB / 430 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.2102, allocations: 31.89 kB / 430 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.2102, allocations: 0 / 430 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.798e-05/0.2103, allocations: 8 kB / 430 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.2103, allocations: 11.98 kB / 430 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.2103, allocations: 7.938 kB / 430 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.805e-05/0.2104, allocations: 27.91 kB / 430.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2104, allocations: 0 / 430.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2104, allocations: 0 / 430.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2104, allocations: 0 / 430.1 MB, free: 6.758 MB / 334.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.0003362/0.2108, allocations: 365.5 kB / 430.4 MB, free: 6.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.2108, allocations: 8.031 kB / 430.4 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.2108, allocations: 42.69 kB / 430.5 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.2109, allocations: 12.83 kB / 430.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.211, allocations: 168.3 kB / 430.7 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.211, allocations: 4.375 kB / 430.7 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.211, allocations: 8.375 kB / 430.7 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.2111, allocations: 70.23 kB / 430.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2111, allocations: 7.922 kB / 430.7 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.2111, allocations: 0 / 430.7 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2111, allocations: 0 / 430.7 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.2112, allocations: 31.98 kB / 430.8 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.2114, allocations: 256.8 kB / 431 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.571e-05/0.2115, allocations: 70.48 kB / 431.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.62e-05/0.2116, allocations: 44.91 kB / 431.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.2116, allocations: 0 / 431.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.2116, allocations: 56.27 kB / 431.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.2116, allocations: 0 / 431.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003067/0.2119, allocations: 223.4 kB / 431.4 MB, free: 5.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.212, allocations: 77.11 kB / 431.5 MB, free: 5.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.2121, allocations: 113.8 kB / 431.6 MB, free: 5.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.2121, allocations: 29.7 kB / 431.6 MB, free: 4.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.2121, allocations: 84.14 kB / 431.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.2121, allocations: 15.86 kB / 431.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.2122, allocations: 25.7 kB / 431.8 MB, free: 4.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2123, allocations: 314.8 kB / 432.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.2123, allocations: 35.98 kB / 432.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.2124, allocations: 31.97 kB / 432.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.2125, allocations: 132.2 kB / 432.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2125, allocations: 0 / 432.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001817/0.2127, allocations: 183.1 kB / 432.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.2127, allocations: 33.7 kB / 432.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2127, allocations: 0 / 432.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.2127, allocations: 0 / 432.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.381e-05/0.2127, allocations: 4 kB / 432.5 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.2127, allocations: 0 / 432.5 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.2128, allocations: 3.938 kB / 432.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.2128, allocations: 7.984 kB / 432.5 MB, free: 4.066 MB / 334.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 9.997e-05/0.2129, allocations: 155.5 kB / 432.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.2129, allocations: 7.953 kB / 432.6 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.909e-05/0.2129, allocations: 12.36 kB / 432.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.2129, allocations: 0 / 432.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2129, allocations: 0 / 432.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2129, allocations: 0 / 432.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.2133, allocations: 440.2 kB / 433.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2133, allocations: 0.5 kB / 433.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-06/0.2133, allocations: 0 / 433.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2133, allocations: 4 kB / 433.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2133, allocations: 8 kB / 433.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2133, allocations: 0 / 433.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2133, allocations: 0 / 433.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.2136, allocations: 301.3 kB / 433.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.2136, allocations: 81.11 kB / 433.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.2136, allocations: 0 / 433.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.25e-05/0.2137, allocations: 7.938 kB / 433.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.2137, allocations: 7.984 kB / 433.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.2137, allocations: 4 kB / 433.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.628e-05/0.2137, allocations: 87.28 kB / 433.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2137, allocations: 0 / 433.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.214, allocations: 15.94 kB / 433.6 MB, free: 2.84 MB / 334.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.0007485/0.2147, allocations: 0.922 MB / 434.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.2149, allocations: 131.4 kB / 434.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2149, allocations: 0 / 434.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.2149, allocations: 95.38 kB / 434.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.2151, allocations: 14.52 kB / 434.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.2164, allocations: 1.547 MB / 436.3 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.2167, allocations: 0.6846 MB / 437 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.373e-05/0.2167, allocations: 7.984 kB / 437 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.2167, allocations: 11.44 kB / 437 MB, free: 15.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2167, allocations: 3.938 kB / 437 MB, free: 15.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.2385, allocations: 1.909 MB / 438.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/7.138, allocations: 2.656 kB / 438.9 MB, free: 13.46 MB / 350.1 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Utilities_Examples_WriteRealMatrixToFile_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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: 9.22683021100238]