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.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.001251/0.001251, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001407/0.001407, allocations: 216.5 kB / 24.52 MB, free: 3.91 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.73 MB / 206.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.223/0.223, allocations: 44.95 MB / 359.6 MB, free: 6.031 MB / 286.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.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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.89 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3304, allocations: 65.47 MB / 0.5577 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001636/0.332, allocations: 489.2 kB / 0.5582 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.335, allocations: 2.064 MB / 0.5602 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.335, allocations: 0 / 0.5602 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.167e-05/0.335, allocations: 4 kB / 0.5602 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.131e-06/0.335, allocations: 0 / 0.5602 GB, free: 4.945 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.002038/0.3371, allocations: 0.7668 MB / 0.561 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.227e-05/0.3371, allocations: 4 kB / 0.561 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.3371, allocations: 4 kB / 0.561 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.381e-05/0.3372, allocations: 0 / 0.561 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.493e-05/0.3372, allocations: 0 / 0.561 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.989e-06/0.3372, allocations: 0 / 0.561 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002244/0.3394, allocations: 1.572 MB / 0.5625 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-06/0.3394, allocations: 0 / 0.5625 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.3394, allocations: 3.984 kB / 0.5625 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.341, allocations: 1.549 MB / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.341, allocations: 4 kB / 0.564 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.341, allocations: 0 / 0.564 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.341, allocations: 0 / 0.564 GB, free: 1.043 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.0005334/0.3416, allocations: 339.4 kB / 0.5643 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3416, allocations: 12.03 kB / 0.5643 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.818e-05/0.3416, allocations: 4.188 kB / 0.5644 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/0.3416, allocations: 34.73 kB / 0.5644 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.235e-05/0.3417, allocations: 0.9375 kB / 0.5644 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.303e-05/0.3417, allocations: 106.5 kB / 0.5645 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3418, allocations: 4.125 kB / 0.5645 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.3418, allocations: 7.938 kB / 0.5645 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.526e-05/0.3418, allocations: 51.41 kB / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3419, allocations: 0 / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.3419, allocations: 0 / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3419, allocations: 8 kB / 0.5646 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.36e-05/0.3419, allocations: 33.69 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.342, allocations: 116.8 kB / 0.5647 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.019e-05/0.3421, allocations: 44.22 kB / 0.5647 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.3421, allocations: 34.5 kB / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.3421, allocations: 8 kB / 0.5648 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.3422, allocations: 60.27 kB / 0.5648 GB, free: 28 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.3422, allocations: 0 / 0.5648 GB, free: 28 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002113/0.3424, allocations: 118.8 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.3424, allocations: 77.11 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.093e-05/0.3425, allocations: 93.98 kB / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.3425, allocations: 33.7 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.3425, allocations: 80.14 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.3426, allocations: 0 / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.3426, allocations: 13.7 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3427, allocations: 314.8 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.3427, allocations: 33.64 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/0.3428, allocations: 25.7 kB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.558e-05/0.3428, allocations: 64.27 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3428, allocations: 0 / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.142e-05/0.3429, allocations: 97.09 kB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.343, allocations: 29.7 kB / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.343, allocations: 4 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.343, allocations: 0 / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.343, allocations: 0 / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.343, allocations: 0 / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.343, allocations: 0 / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.343, allocations: 0 / 0.5658 GB, free: 14.93 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 0.0001099/0.3431, allocations: 151.4 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.3431, allocations: 0 / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.271e-05/0.3431, allocations: 7.031 kB / 0.5659 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.3431, allocations: 0 / 0.5659 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3431, allocations: 4 kB / 0.5659 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3431, allocations: 0 / 0.5659 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.3432, allocations: 116.7 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3432, allocations: 0 / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-06/0.3432, allocations: 7.922 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3432, allocations: 0 / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.3433, allocations: 4 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.3433, allocations: 0 / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3433, allocations: 0 / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.3434, allocations: 128.4 kB / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-06/0.3434, allocations: 0 / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.3434, allocations: 3.984 kB / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.3434, allocations: 4 kB / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.3434, allocations: 0 / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.3434, allocations: 0 / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.759e-05/0.3435, allocations: 83.22 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3435, allocations: 0 / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00089/0.3444, allocations: 279.5 kB / 0.5665 GB, free: 14.07 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.001652/0.346, allocations: 0.9682 MB / 0.5675 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.3461, allocations: 122.7 kB / 0.5676 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3461, allocations: 0 / 0.5676 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.942e-05/0.3462, allocations: 85.05 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.3463, allocations: 0 / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.3468, allocations: 195.9 kB / 0.5679 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.256e-05/0.3469, allocations: 59.34 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.63e-06/0.3469, allocations: 0 / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/0.3469, allocations: 7.562 kB / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3469, allocations: 4 kB / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.3789, allocations: 8.42 MB / 0.5762 GB, free: 4.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.48, allocations: 11.44 kB / 0.5762 GB, free: 4.211 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.379350407980382] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.646448940038681 11.663441867 11.319333783 Calling exit ...