Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.00147/0.00147, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.001666/0.001666, allocations: 212.2 kB / 24.52 MB, free: 4.066 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.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2254/0.2254, allocations: 46.93 MB / 361.7 MB, free: 4.23 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.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 75.89 kB / 0.4969 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3334, allocations: 66.03 MB / 0.5614 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001636/0.335, allocations: 0.4892 MB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.3383, allocations: 2.069 MB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-06/0.3384, allocations: 4 kB / 0.5639 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.737e-06/0.3384, allocations: 0 / 0.5639 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.192e-06/0.3384, allocations: 0 / 0.5639 GB, free: 1.855 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/package.mo:697:5-760:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.3401, allocations: 0.5607 MB / 0.5644 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.313e-05/0.3401, allocations: 0 / 0.5644 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.477e-05/0.3401, allocations: 4 kB / 0.5644 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-06/0.3401, allocations: 3.938 kB / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-06/0.3401, allocations: 0 / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-06/0.3401, allocations: 0 / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.3417, allocations: 1.141 MB / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.3417, allocations: 7.984 kB / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.175e-05/0.3417, allocations: 0 / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.3427, allocations: 0.8359 MB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3427, allocations: 0 / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3428, allocations: 0 / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3428, allocations: 0 / 0.5664 GB, free: 15.3 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003702/0.3431, allocations: 305.7 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3432, allocations: 8.031 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.732e-05/0.3432, allocations: 79.47 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.845e-05/0.3433, allocations: 106 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.3434, allocations: 76.22 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.3435, allocations: 181.8 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.01e-05/0.3435, allocations: 154.9 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-05/0.3436, allocations: 154.9 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.184e-05/0.3437, allocations: 112.9 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.3437, allocations: 75.28 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.421e-05/0.3438, allocations: 150.6 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.985e-05/0.3438, allocations: 150.6 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.184e-05/0.3439, allocations: 154.6 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.3442, allocations: 421 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.3443, allocations: 169.1 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.3444, allocations: 80.14 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.3444, allocations: 79.27 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.094e-05/0.3445, allocations: 117.8 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.3445, allocations: 0 / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.9e-05/0.3445, allocations: 29.69 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/0.3446, allocations: 156.3 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.536e-05/0.3447, allocations: 93.86 kB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3447, allocations: 25.7 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.3447, allocations: 80.14 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.3447, allocations: 0 / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.3447, allocations: 13.72 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3449, allocations: 314.8 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-06/0.3449, allocations: 0 / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/0.3449, allocations: 0 / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.3449, allocations: 79.28 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.21e-05/0.345, allocations: 75.28 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.546e-05/0.345, allocations: 37.62 kB / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/0.3451, allocations: 85.72 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.773e-05/0.3451, allocations: 87.3 kB / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.658e-05/0.3452, allocations: 154.6 kB / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.298e-05/0.3452, allocations: 83.22 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.914e-05/0.3453, allocations: 150.6 kB / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.3454, allocations: 79.28 kB / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.3454, allocations: 79.22 kB / 0.5704 GB, free: 10.98 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.000146/0.3456, allocations: 268.3 kB / 0.5707 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.3456, allocations: 108.9 kB / 0.5708 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.905e-05/0.3457, allocations: 115.7 kB / 0.5709 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.679e-05/0.3458, allocations: 176.3 kB / 0.571 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.239e-05/0.3459, allocations: 176.3 kB / 0.5712 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.32e-05/0.346, allocations: 192.2 kB / 0.5714 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.3462, allocations: 368.3 kB / 0.5717 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.025e-05/0.3463, allocations: 108.9 kB / 0.5718 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.3463, allocations: 108.9 kB / 0.572 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.786e-05/0.3464, allocations: 180.2 kB / 0.5721 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.619e-05/0.3465, allocations: 184.1 kB / 0.5723 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-05/0.3466, allocations: 180.3 kB / 0.5725 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.654e-05/0.3467, allocations: 184.2 kB / 0.5726 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.3468, allocations: 299.8 kB / 0.5729 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.3469, allocations: 112.9 kB / 0.573 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/0.347, allocations: 180.3 kB / 0.5732 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/0.347, allocations: 108.9 kB / 0.5733 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/0.3471, allocations: 184.2 kB / 0.5735 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.3472, allocations: 105 kB / 0.5736 GB, free: 7.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.56e-05/0.3472, allocations: 79.22 kB / 0.5737 GB, free: 7.434 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3472, allocations: 0 / 0.5737 GB, free: 7.434 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006268/0.3478, allocations: 151.6 kB / 0.5738 GB, free: 7.285 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001042/0.3489, allocations: 0.9782 MB / 0.5748 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 3.938e-05/0.3489, allocations: 464 / 0.5748 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3489, allocations: 0 / 0.5748 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-06/0.3489, allocations: 3.938 kB / 0.5748 GB, free: 6.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.3493, allocations: 459.7 kB / 0.5752 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.3497, allocations: 229.5 kB / 0.5754 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.35, allocations: 0.669 MB / 0.5761 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.773e-06/0.35, allocations: 0 / 0.5761 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.35, allocations: 7.438 kB / 0.5761 GB, free: 4.859 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.35, allocations: 0 / 0.5761 GB, free: 4.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.3745, allocations: 4.461 MB / 0.5804 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.2, allocations: 10.16 kB / 0.5805 GB, free: 0.5391 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.979298303020187] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.351848007994704 11.367528068 11.021551489 Calling exit ...