Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 46.93 MB / 360.9 MB, free: 4.262 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.89 kB / 0.4961 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 66.03 MB / 0.5606 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001843/0.3202, allocations: 495.7 kB / 0.5611 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.3226, allocations: 1.579 MB / 0.5626 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.3226, allocations: 0 / 0.5626 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.3226, allocations: 3.938 kB / 0.5627 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.65e-06/0.3226, allocations: 0 / 0.5627 GB, free: 2.375 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3237, allocations: 255.4 kB / 0.5629 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.3238, allocations: 0 / 0.5629 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.3238, allocations: 7.984 kB / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.807e-05/0.3238, allocations: 0 / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.814e-05/0.3238, allocations: 0 / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-06/0.3238, allocations: 0 / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.3251, allocations: 0.8 MB / 0.5637 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.3251, allocations: 3.984 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.3251, allocations: 4 kB / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008432/0.326, allocations: 0.653 MB / 0.5643 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.326, allocations: 7.938 kB / 0.5643 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.326, allocations: 0 / 0.5643 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.326, allocations: 0 / 0.5643 GB, free: 0.6484 MB / 398.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.0004741/0.3264, allocations: 295.8 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3265, allocations: 8.031 kB / 0.5646 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.3265, allocations: 30.75 kB / 0.5647 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.3266, allocations: 8.922 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3267, allocations: 106.5 kB / 0.5648 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3267, allocations: 384 / 0.5648 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.3267, allocations: 4.375 kB / 0.5648 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.3268, allocations: 41.77 kB / 0.5648 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3268, allocations: 0 / 0.5648 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.3268, allocations: 0 / 0.5648 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3268, allocations: 0 / 0.5648 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.3269, allocations: 0 / 0.5648 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.327, allocations: 120.8 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.3271, allocations: 14.58 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.3271, allocations: 12.95 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-06/0.3271, allocations: 0 / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.3271, allocations: 68.14 kB / 0.565 GB, free: 15.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.3271, allocations: 0 / 0.565 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001669/0.3273, allocations: 63.39 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.3274, allocations: 77.11 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.71e-05/0.3274, allocations: 93.81 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3274, allocations: 29.83 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.3275, allocations: 80.14 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.3275, allocations: 4 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.3275, allocations: 13.72 kB / 0.5654 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3277, allocations: 310.8 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.3277, allocations: 0 / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-06/0.3277, allocations: 4 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/0.3277, allocations: 68.25 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3277, allocations: 4 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.963e-05/0.3278, allocations: 63.34 kB / 0.5658 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.3278, allocations: 37.64 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3278, allocations: 0 / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3279, allocations: 0 / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.3279, allocations: 0 / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.3279, allocations: 3.984 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.3279, allocations: 0 / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3279, allocations: 0 / 0.5658 GB, free: 14.88 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 8.956e-05/0.328, allocations: 139.6 kB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.328, allocations: 7.875 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.179e-05/0.328, allocations: 3 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.328, allocations: 0 / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.328, allocations: 4 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.328, allocations: 3.984 kB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.3281, allocations: 124.7 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3281, allocations: 0 / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-06/0.3281, allocations: 3.938 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3281, allocations: 7.938 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3281, allocations: 4 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3281, allocations: 0 / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3281, allocations: 4 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.3283, allocations: 90.83 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-06/0.3283, allocations: 3.938 kB / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.3283, allocations: 0 / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.3283, allocations: 0 / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-06/0.3283, allocations: 4.031 kB / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.3283, allocations: 4 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.273e-05/0.3283, allocations: 76.3 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3283, allocations: 0 / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.3287, allocations: 119.9 kB / 0.5664 GB, free: 14.2 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.001065/0.3298, allocations: 0.7086 MB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.3299, allocations: 59.39 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3299, allocations: 4.062 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.3299, allocations: 59.41 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.33, allocations: 0 / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.3304, allocations: 130.5 kB / 0.5673 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.3308, allocations: 0.6729 MB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.101e-06/0.3308, allocations: 0 / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.3308, allocations: 7.438 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3308, allocations: 0 / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.3618, allocations: 4.863 MB / 0.5728 GB, free: 7.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.26, allocations: 8.062 kB / 0.5728 GB, free: 7.703 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.06250129500404] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.361440940992907 11.386950904 11.056304479 Calling exit ...