Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.001964/0.001964, allocations: 119 kB / 18.5 MB, free: 4.434 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.002045/0.002045, allocations: 190.9 kB / 21.44 MB, free: 1.504 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.439/1.439, allocations: 225.6 MB / 249.8 MB, free: 3.684 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.2185/0.2185, allocations: 44.91 MB / 349.6 MB, free: 1.82 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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 68.39 kB / 491.8 MB, free: 29.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1103, allocations: 64.27 MB / 0.543 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001628/0.112, allocations: 497 kB / 0.5435 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.1152, allocations: 2.103 MB / 0.5455 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.1152, allocations: 0 / 0.5455 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.1152, allocations: 4 kB / 0.5455 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.1152, allocations: 4 kB / 0.5455 GB, free: 1.512 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.1171, allocations: 0.7281 MB / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.169e-05/0.1172, allocations: 3.984 kB / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.1172, allocations: 0 / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.1172, allocations: 8 kB / 0.5462 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.1172, allocations: 0 / 0.5462 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.171e-06/0.1172, allocations: 3.938 kB / 0.5462 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.1194, allocations: 1.572 MB / 0.5478 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.605e-06/0.1194, allocations: 0 / 0.5478 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.1194, allocations: 3.984 kB / 0.5478 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.121, allocations: 1.544 MB / 0.5493 GB, free: 13.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.121, allocations: 4 kB / 0.5493 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.121, allocations: 0 / 0.5493 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.121, allocations: 0 / 0.5493 GB, free: 13.64 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.0006265/0.1216, allocations: 420.4 kB / 0.5497 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1217, allocations: 12.03 kB / 0.5497 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.1217, allocations: 38.69 kB / 0.5497 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.1217, allocations: 4.922 kB / 0.5498 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1219, allocations: 160.4 kB / 0.5499 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1219, allocations: 8.375 kB / 0.5499 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1219, allocations: 3.938 kB / 0.5499 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.477e-05/0.122, allocations: 25.7 kB / 0.5499 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.122, allocations: 0 / 0.5499 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.122, allocations: 4 kB / 0.5499 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.122, allocations: 0 / 0.5499 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.553e-05/0.122, allocations: 4 kB / 0.5499 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1222, allocations: 145.7 kB / 0.5501 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.005e-05/0.1222, allocations: 30.48 kB / 0.5501 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.1222, allocations: 4.859 kB / 0.5501 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-06/0.1222, allocations: 0 / 0.5501 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.1223, allocations: 60.33 kB / 0.5502 GB, free: 12.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1223, allocations: 4 kB / 0.5502 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001735/0.1225, allocations: 59.39 kB / 0.5502 GB, free: 12.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.1225, allocations: 85.05 kB / 0.5503 GB, free: 12.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.641e-05/0.1226, allocations: 93.86 kB / 0.5504 GB, free: 12.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1226, allocations: 25.7 kB / 0.5504 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.1226, allocations: 80.14 kB / 0.5505 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.1226, allocations: 0 / 0.5505 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.1227, allocations: 13.72 kB / 0.5505 GB, free: 12.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1228, allocations: 315 kB / 0.5508 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.1228, allocations: 3.938 kB / 0.5508 GB, free: 11.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.1228, allocations: 3.984 kB / 0.5508 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.127e-05/0.1229, allocations: 64.27 kB / 0.5509 GB, free: 11.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1229, allocations: 3.938 kB / 0.5509 GB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.299e-05/0.1229, allocations: 63.34 kB / 0.551 GB, free: 11.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.123, allocations: 29.7 kB / 0.551 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.123, allocations: 7.922 kB / 0.551 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.123, allocations: 4.094 kB / 0.551 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.123, allocations: 4 kB / 0.551 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.123, allocations: 0 / 0.551 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.123, allocations: 7.953 kB / 0.551 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.123, allocations: 0 / 0.551 GB, free: 11.61 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 9.357e-05/0.1231, allocations: 135.5 kB / 0.5511 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-06/0.1231, allocations: 3.938 kB / 0.5511 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.131e-05/0.1231, allocations: 7.125 kB / 0.5511 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1231, allocations: 3.984 kB / 0.5512 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1232, allocations: 4 kB / 0.5512 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.1232, allocations: 0 / 0.5512 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.1233, allocations: 153.6 kB / 0.5513 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1233, allocations: 0 / 0.5513 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1233, allocations: 0 / 0.5513 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1233, allocations: 0 / 0.5513 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1233, allocations: 0 / 0.5513 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1233, allocations: 0 / 0.5513 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.1233, allocations: 0 / 0.5513 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.1234, allocations: 106.7 kB / 0.5514 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.1234, allocations: 77.11 kB / 0.5515 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.1234, allocations: 4 kB / 0.5515 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-06/0.1234, allocations: 4 kB / 0.5515 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-06/0.1235, allocations: 0 / 0.5515 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1235, allocations: 3.984 kB / 0.5515 GB, free: 11.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.345e-05/0.1235, allocations: 79.31 kB / 0.5516 GB, free: 10.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1235, allocations: 0 / 0.5516 GB, free: 10.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007865/0.1243, allocations: 271.6 kB / 0.5518 GB, free: 10.66 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.001536/0.1258, allocations: 0.9332 MB / 0.5527 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.1259, allocations: 63.34 kB / 0.5528 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1259, allocations: 0 / 0.5528 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.126, allocations: 55.41 kB / 0.5528 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1261, allocations: 14.02 kB / 0.5529 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.1265, allocations: 158.3 kB / 0.553 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.1268, allocations: 0.6766 MB / 0.5537 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.551e-06/0.1268, allocations: 3.938 kB / 0.5537 GB, free: 8.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.1269, allocations: 11.44 kB / 0.5537 GB, free: 8.645 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1269, allocations: 0 / 0.5537 GB, free: 8.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.1595, allocations: 8.221 MB / 0.5617 GB, free: 500 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.133, allocations: 14.59 kB / 0.5617 GB, free: 488 kB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.008221773430705] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.203249383252114 8.224185484 8.099307573 Calling exit ...