Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.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.001866/0.001866, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002367/0.002367, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2316/0.2316, allocations: 46.89 MB / 357.4 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002824/0.002824, allocations: 80.64 kB / 0.4912 GB, free: 26.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1367, allocations: 65.98 MB / 0.5556 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001682/0.1383, allocations: 498.9 kB / 0.5561 GB, free: 8.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007622/0.146, allocations: 4.918 MB / 0.5609 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.146, allocations: 4 kB / 0.5609 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.146, allocations: 0 / 0.5609 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.13e-06/0.146, allocations: 3.938 kB / 0.5609 GB, free: 3.695 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.006997/0.153, allocations: 2.941 MB / 0.5638 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.706e-05/0.1531, allocations: 4 kB / 0.5638 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.1531, allocations: 4 kB / 0.5638 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.216e-05/0.1531, allocations: 0 / 0.5638 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.62e-05/0.1531, allocations: 3.984 kB / 0.5638 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.661e-06/0.1531, allocations: 8 kB / 0.5638 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02881/0.1819, allocations: 19.56 MB / 0.5829 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.182, allocations: 0 / 0.5829 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.182, allocations: 0 / 0.5829 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03628/0.2183, allocations: 27.48 MB / 0.6098 GB, free: 1.641 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.2183, allocations: 3.938 kB / 0.6098 GB, free: 1.637 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2183, allocations: 0 / 0.6098 GB, free: 1.637 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.2183, allocations: 0 / 0.6098 GB, free: 1.637 MB / 462.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.007378/0.2256, allocations: 0.6697 MB / 0.6104 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.2257, allocations: 12.03 kB / 0.6104 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.2257, allocations: 30.75 kB / 0.6104 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.2258, allocations: 4.938 kB / 0.6105 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2259, allocations: 163.6 kB / 0.6106 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2259, allocations: 4 kB / 0.6106 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.2259, allocations: 0 / 0.6106 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.24e-05/0.226, allocations: 33.62 kB / 0.6106 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.226, allocations: 4 kB / 0.6107 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.226, allocations: 0 / 0.6107 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.226, allocations: 0 / 0.6107 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.2261, allocations: 7.938 kB / 0.6107 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.2262, allocations: 145.6 kB / 0.6108 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.915e-05/0.2263, allocations: 22.61 kB / 0.6108 GB, free: 388 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.2263, allocations: 8.844 kB / 0.6108 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.2263, allocations: 0 / 0.6108 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.2263, allocations: 60.33 kB / 0.6109 GB, free: 300 kB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2263, allocations: 4 kB / 0.6109 GB, free: 296 kB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001851/0.2265, allocations: 59.34 kB / 0.6109 GB, free: 224 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.2266, allocations: 81.11 kB / 0.611 GB, free: 124 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.2267, allocations: 97.84 kB / 0.6111 GB, free: 16 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.2614/0.4881, allocations: 25.7 kB / 0.6111 GB, free: 38.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.793e-05/0.4881, allocations: 80.14 kB / 0.6112 GB, free: 38.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.4881, allocations: 0 / 0.6112 GB, free: 38.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.4882, allocations: 11 kB / 0.6112 GB, free: 38.74 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.4882, allocations: 318.9 kB / 0.6115 GB, free: 38.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/0.4883, allocations: 2.5 kB / 0.6115 GB, free: 38.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.528e-05/0.4883, allocations: 0.9062 kB / 0.6115 GB, free: 38.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.717e-05/0.4883, allocations: 63.05 kB / 0.6116 GB, free: 38.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4883, allocations: 0.5312 kB / 0.6116 GB, free: 38.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.399e-05/0.4884, allocations: 63.28 kB / 0.6117 GB, free: 38.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.4884, allocations: 35.86 kB / 0.6117 GB, free: 38.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4885, allocations: 0.5312 kB / 0.6117 GB, free: 38.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4885, allocations: 0.5156 kB / 0.6117 GB, free: 38.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.4885, allocations: 0.7188 kB / 0.6117 GB, free: 38.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4885, allocations: 1.141 kB / 0.6117 GB, free: 38.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.4885, allocations: 0.625 kB / 0.6117 GB, free: 38.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.4885, allocations: 0.5625 kB / 0.6117 GB, free: 38.26 MB / 462.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.641e-05/0.4886, allocations: 138.2 kB / 0.6118 GB, free: 38.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.4886, allocations: 3.312 kB / 0.6118 GB, free: 38.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.473e-05/0.4886, allocations: 4.359 kB / 0.6118 GB, free: 38.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4886, allocations: 5.672 kB / 0.6118 GB, free: 38.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4886, allocations: 0 / 0.6118 GB, free: 38.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4886, allocations: 2.078 kB / 0.6118 GB, free: 38.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.789e-05/0.4887, allocations: 153.9 kB / 0.612 GB, free: 37.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4887, allocations: 0.75 kB / 0.612 GB, free: 37.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-06/0.4887, allocations: 1.938 kB / 0.612 GB, free: 37.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.4887, allocations: 1.094 kB / 0.612 GB, free: 37.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.4887, allocations: 1.734 kB / 0.612 GB, free: 37.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4887, allocations: 6.562 kB / 0.612 GB, free: 37.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4887, allocations: 0 / 0.612 GB, free: 37.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.803e-05/0.4888, allocations: 95.2 kB / 0.6121 GB, free: 37.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.4888, allocations: 83.8 kB / 0.6122 GB, free: 37.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.4888, allocations: 5.891 kB / 0.6122 GB, free: 37.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.4888, allocations: 4.469 kB / 0.6122 GB, free: 37.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.4888, allocations: 1.094 kB / 0.6122 GB, free: 37.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.4888, allocations: 1.578 kB / 0.6122 GB, free: 37.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 1.307e-05/0.4888, allocations: 78.94 kB / 0.6123 GB, free: 37.65 MB / 462.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4888, allocations: 2.188 kB / 0.6123 GB, free: 37.65 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01409/0.5029, allocations: 3.787 MB / 0.616 GB, free: 37.65 MB / 462.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.02194/0.5249, allocations: 1.503 MB / 0.6174 GB, free: 36.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.525, allocations: 64.55 kB / 0.6175 GB, free: 36.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.525, allocations: 0 / 0.6175 GB, free: 36.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/0.525, allocations: 55.08 kB / 0.6175 GB, free: 36.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.5251, allocations: 6.219 kB / 0.6175 GB, free: 36.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006845/0.532, allocations: 347 kB / 0.6179 GB, free: 36.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.78e-05/0.5321, allocations: 0.6724 MB / 0.6185 GB, free: 35.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.152e-06/0.5321, allocations: 0 / 0.6185 GB, free: 35.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.5321, allocations: 10.56 kB / 0.6185 GB, free: 35.89 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5321, allocations: 3.938 kB / 0.6185 GB, free: 35.89 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1823/0.7144, allocations: 113.8 MB / 0.7297 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/16.43, allocations: 15.92 kB / 0.7297 GB, free: 12.86 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.42585630528629] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 16.53476048493758 16.547937649 16.326915935 Calling exit ...