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.001242/0.001242, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002077/0.002077, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.435/1.435, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2185/0.2185, allocations: 44.91 MB / 358.8 MB, free: 6.293 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="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: 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.002212/0.002212, allocations: 63.91 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3439, allocations: 65.47 MB / 0.557 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00168/0.3456, allocations: 0.4887 MB / 0.5575 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003583/0.3491, allocations: 2.165 MB / 0.5596 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.3492, allocations: 0 / 0.5596 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.3492, allocations: 7.875 kB / 0.5596 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.3492, allocations: 0 / 0.5596 GB, free: 4.953 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.002416/0.3516, allocations: 0.7666 MB / 0.5604 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.699e-05/0.3517, allocations: 4 kB / 0.5604 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.3517, allocations: 4 kB / 0.5604 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.3517, allocations: 0 / 0.5604 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.831e-05/0.3518, allocations: 0 / 0.5604 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.573e-06/0.3518, allocations: 0 / 0.5604 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/0.3547, allocations: 1.712 MB / 0.562 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.348e-06/0.3547, allocations: 0 / 0.562 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.3548, allocations: 0 / 0.562 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.3574, allocations: 1.569 MB / 0.5636 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3574, allocations: 0 / 0.5636 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3574, allocations: 0 / 0.5636 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.3574, allocations: 0 / 0.5636 GB, free: 0.9023 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.001019/0.3584, allocations: 341.6 kB / 0.5639 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.3585, allocations: 12.02 kB / 0.5639 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.3585, allocations: 34.75 kB / 0.5639 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.3585, allocations: 4.938 kB / 0.5639 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.745e-05/0.3586, allocations: 106.5 kB / 0.564 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3586, allocations: 384 / 0.564 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3587, allocations: 3.938 kB / 0.564 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.3588, allocations: 33.7 kB / 0.5641 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3588, allocations: 0 / 0.5641 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.3588, allocations: 0 / 0.5641 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3588, allocations: 0 / 0.5641 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.3588, allocations: 7.938 kB / 0.5641 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.3589, allocations: 124.7 kB / 0.5642 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.424e-05/0.359, allocations: 26.48 kB / 0.5642 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.359, allocations: 8.859 kB / 0.5642 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.359, allocations: 0 / 0.5642 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.3591, allocations: 56.27 kB / 0.5643 GB, free: 16 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3591, allocations: 0 / 0.5643 GB, free: 16 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002218/0.3593, allocations: 67.53 kB / 0.5644 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.3594, allocations: 81.11 kB / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.392e-05/0.3594, allocations: 89.86 kB / 0.5645 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3594, allocations: 29.7 kB / 0.5646 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.3595, allocations: 84.14 kB / 0.5646 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.3595, allocations: 0 / 0.5646 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.3595, allocations: 13.66 kB / 0.5646 GB, free: 15.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3597, allocations: 314.8 kB / 0.5649 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.3597, allocations: 0 / 0.5649 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/0.3597, allocations: 7.984 kB / 0.565 GB, free: 15.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.689e-05/0.3597, allocations: 64.2 kB / 0.565 GB, free: 15.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3597, allocations: 0 / 0.565 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.859e-05/0.3598, allocations: 67.34 kB / 0.5651 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.3599, allocations: 29.7 kB / 0.5651 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3599, allocations: 3.984 kB / 0.5651 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3599, allocations: 0 / 0.5651 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.3599, allocations: 0 / 0.5651 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3599, allocations: 4.094 kB / 0.5651 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.3599, allocations: 7.938 kB / 0.5651 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.3599, allocations: 4 kB / 0.5651 GB, free: 15.07 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.0001123/0.36, allocations: 135.5 kB / 0.5653 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.36, allocations: 7.938 kB / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.201e-05/0.3601, allocations: 3 kB / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3601, allocations: 0 / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3601, allocations: 0 / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3601, allocations: 0 / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.3602, allocations: 128.7 kB / 0.5654 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3602, allocations: 4 kB / 0.5654 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3602, allocations: 0 / 0.5654 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3602, allocations: 3.938 kB / 0.5654 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.3602, allocations: 0 / 0.5654 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3602, allocations: 0 / 0.5654 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3602, allocations: 0 / 0.5654 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.3603, allocations: 94.77 kB / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.3603, allocations: 7.969 kB / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.3603, allocations: 0 / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.119e-05/0.3603, allocations: 4 kB / 0.5655 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.3603, allocations: 3.938 kB / 0.5655 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.3604, allocations: 0 / 0.5655 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.749e-05/0.3604, allocations: 75.28 kB / 0.5656 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3604, allocations: 0 / 0.5656 GB, free: 14.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001079/0.3615, allocations: 275.6 kB / 0.5658 GB, free: 14.25 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.002098/0.3636, allocations: 0.9468 MB / 0.5668 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.3637, allocations: 59.34 kB / 0.5668 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3637, allocations: 0 / 0.5668 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.3637, allocations: 55.41 kB / 0.5669 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.3639, allocations: 0 / 0.5669 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006819/0.3645, allocations: 174.3 kB / 0.567 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3649, allocations: 0.6729 MB / 0.5677 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.163e-06/0.3649, allocations: 0 / 0.5677 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.3649, allocations: 7.438 kB / 0.5677 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3649, allocations: 0 / 0.5677 GB, free: 12.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03978/0.4047, allocations: 8.348 MB / 0.5759 GB, free: 4.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.77, allocations: 4.062 kB / 0.5759 GB, free: 4 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.555528722936288] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.884747139178216 11.913756623 11.550903189 Calling exit ...