Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 249.8 MB, free: 3.488 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.221/0.221, allocations: 44.92 MB / 349.6 MB, free: 1.727 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 64.33 kB / 491.8 MB, free: 29.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1133, allocations: 64.26 MB / 0.543 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001547/0.1149, allocations: 497 kB / 0.5435 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008349/0.1232, allocations: 4.865 MB / 0.5482 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.004e-05/0.1232, allocations: 0 / 0.5482 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.1233, allocations: 4 kB / 0.5482 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.1233, allocations: 0 / 0.5482 GB, free: 14.88 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.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.007184/0.1304, allocations: 2.943 MB / 0.5511 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.122e-05/0.1305, allocations: 0 / 0.5511 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.1305, allocations: 0 / 0.5511 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.321e-05/0.1305, allocations: 0 / 0.5511 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.777e-05/0.1306, allocations: 4 kB / 0.5511 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.63e-06/0.1306, allocations: 0 / 0.5511 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02894/0.1595, allocations: 19.55 MB / 0.5702 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.1595, allocations: 0 / 0.5702 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.1596, allocations: 0 / 0.5702 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04149/0.201, allocations: 27.48 MB / 0.597 GB, free: 12.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.2011, allocations: 0 / 0.597 GB, free: 12.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2011, allocations: 0 / 0.597 GB, free: 12.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.2011, allocations: 0 / 0.597 GB, free: 12.84 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.006983/0.2081, allocations: 0.6697 MB / 0.5977 GB, free: 12.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2081, allocations: 15.95 kB / 0.5977 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.2081, allocations: 34.75 kB / 0.5977 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.2082, allocations: 0.9375 kB / 0.5977 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2083, allocations: 163 kB / 0.5979 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2083, allocations: 4 kB / 0.5979 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.2083, allocations: 4 kB / 0.5979 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.2084, allocations: 37.64 kB / 0.5979 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2084, allocations: 0 / 0.5979 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.2084, allocations: 0 / 0.5979 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2084, allocations: 0 / 0.5979 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.607e-05/0.2084, allocations: 0 / 0.5979 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.2086, allocations: 157.6 kB / 0.5981 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.648e-05/0.2087, allocations: 18.58 kB / 0.5981 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.2087, allocations: 4.859 kB / 0.5981 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.2087, allocations: 8.078 kB / 0.5981 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.2087, allocations: 68.14 kB / 0.5982 GB, free: 11.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2087, allocations: 0 / 0.5982 GB, free: 11.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001725/0.2089, allocations: 63.39 kB / 0.5982 GB, free: 11.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.209, allocations: 77.11 kB / 0.5983 GB, free: 11.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.958e-05/0.209, allocations: 93.98 kB / 0.5984 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.209, allocations: 25.7 kB / 0.5984 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.2091, allocations: 80.14 kB / 0.5985 GB, free: 11.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.2091, allocations: 7.953 kB / 0.5985 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.2091, allocations: 13.72 kB / 0.5985 GB, free: 11.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2093, allocations: 318.8 kB / 0.5988 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-06/0.2093, allocations: 0 / 0.5988 GB, free: 10.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-06/0.2093, allocations: 4 kB / 0.5988 GB, free: 10.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.734e-05/0.2094, allocations: 68.27 kB / 0.5989 GB, free: 10.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2094, allocations: 0 / 0.5989 GB, free: 10.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.596e-05/0.2094, allocations: 59.41 kB / 0.5989 GB, free: 10.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.2095, allocations: 37.69 kB / 0.599 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2095, allocations: 3.984 kB / 0.599 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2095, allocations: 0 / 0.599 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.2095, allocations: 0 / 0.599 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2095, allocations: 0 / 0.599 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.2095, allocations: 3.938 kB / 0.599 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.2095, allocations: 4 kB / 0.599 GB, free: 10.54 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 8.905e-05/0.2096, allocations: 135.6 kB / 0.5991 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-06/0.2096, allocations: 0 / 0.5991 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.053e-05/0.2096, allocations: 3.125 kB / 0.5991 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.2096, allocations: 4 kB / 0.5991 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2096, allocations: 0 / 0.5991 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2097, allocations: 11.86 kB / 0.5991 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.2098, allocations: 141.7 kB / 0.5993 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2098, allocations: 3.938 kB / 0.5993 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.2098, allocations: 0 / 0.5993 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2098, allocations: 8 kB / 0.5993 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.2098, allocations: 0 / 0.5993 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2098, allocations: 0 / 0.5993 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2098, allocations: 0 / 0.5993 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.2099, allocations: 98.77 kB / 0.5994 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.2099, allocations: 81.05 kB / 0.5995 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.2099, allocations: 4 kB / 0.5995 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.071e-05/0.21, allocations: 4.031 kB / 0.5995 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.21, allocations: 3.984 kB / 0.5995 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.21, allocations: 7.938 kB / 0.5995 GB, free: 9.934 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.06e-05/0.21, allocations: 75.28 kB / 0.5995 GB, free: 9.859 MB / 462.1 MB Notification: Performance of sort global known variables: time 5e-08/0.21, allocations: 0 / 0.5995 GB, free: 9.859 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01038/0.2204, allocations: 3.791 MB / 0.6032 GB, free: 6.066 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.01858/0.239, allocations: 1.493 MB / 0.6047 GB, free: 4.559 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.2391, allocations: 59.41 kB / 0.6048 GB, free: 4.488 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2391, allocations: 3.938 kB / 0.6048 GB, free: 4.484 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.2392, allocations: 55.41 kB / 0.6048 GB, free: 4.418 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.2393, allocations: 10.19 kB / 0.6048 GB, free: 4.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00593/0.2452, allocations: 349 kB / 0.6052 GB, free: 4.027 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2455, allocations: 0.6727 MB / 0.6058 GB, free: 3.328 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.703e-06/0.2455, allocations: 0 / 0.6058 GB, free: 3.328 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.2456, allocations: 11.44 kB / 0.6058 GB, free: 3.316 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2456, allocations: 0 / 0.6058 GB, free: 3.316 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4294/0.675, allocations: 113.8 MB / 0.717 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/16.18, allocations: 5.578 kB / 0.717 GB, free: 14.62 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.05755498725921] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 16.291537779849023 16.315632108 16.110100608 Calling exit ...