Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 230.5 MB / 258.2 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2488/0.2488, allocations: 46.93 MB / 361.6 MB, free: 4.211 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 87.84 kB / 0.497 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3095, allocations: 66.08 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001674/0.3112, allocations: 492.6 kB / 0.562 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.3135, allocations: 1.637 MB / 0.5636 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.508e-05/0.3135, allocations: 4 kB / 0.5636 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.3136, allocations: 0 / 0.5636 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.52e-06/0.3136, allocations: 0 / 0.5636 GB, free: 2.188 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.3147, allocations: 283.2 kB / 0.5638 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.645e-05/0.3148, allocations: 8 kB / 0.5638 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.3148, allocations: 11.98 kB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.352e-05/0.3148, allocations: 0 / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.61e-05/0.3148, allocations: 0 / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.731e-06/0.3148, allocations: 0 / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008432/0.3157, allocations: 0.6042 MB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.3157, allocations: 3.984 kB / 0.5644 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.3157, allocations: 4 kB / 0.5645 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004464/0.3161, allocations: 329.2 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3162, allocations: 0 / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3162, allocations: 0 / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3162, allocations: 0 / 0.5648 GB, free: 0.957 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.0003539/0.3165, allocations: 299.7 kB / 0.5651 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3166, allocations: 12.02 kB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.895e-05/0.3166, allocations: 30.75 kB / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.3166, allocations: 4.875 kB / 0.5651 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.937e-05/0.3167, allocations: 110.5 kB / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3167, allocations: 384 / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.3167, allocations: 4.375 kB / 0.5652 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.625e-05/0.3168, allocations: 41.77 kB / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3168, allocations: 0 / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.3168, allocations: 0 / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.3168, allocations: 0 / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.549e-05/0.3168, allocations: 0 / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.3169, allocations: 120.8 kB / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.16e-05/0.317, allocations: 18.52 kB / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.317, allocations: 8.859 kB / 0.5654 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.317, allocations: 4.094 kB / 0.5654 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.3171, allocations: 68.2 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3171, allocations: 0 / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001576/0.3172, allocations: 63.39 kB / 0.5655 GB, free: 32 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.3173, allocations: 81.05 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.782e-05/0.3173, allocations: 97.75 kB / 0.5657 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3174, allocations: 29.83 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.3174, allocations: 80.14 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.3174, allocations: 0 / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.3174, allocations: 17.72 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3176, allocations: 310.8 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.3176, allocations: 3.984 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.3176, allocations: 4 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.153e-05/0.3176, allocations: 60.33 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3176, allocations: 4 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.101e-05/0.3177, allocations: 59.41 kB / 0.5662 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.3177, allocations: 37.64 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3178, allocations: 3.984 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3178, allocations: 7.922 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.3178, allocations: 0 / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3178, allocations: 0 / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/0.3178, allocations: 0 / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3178, allocations: 4 kB / 0.5663 GB, free: 15.16 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.489e-05/0.3179, allocations: 135.6 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.3179, allocations: 3.938 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.866e-06/0.3179, allocations: 3 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3179, allocations: 4 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.3179, allocations: 0 / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-06/0.3179, allocations: 0 / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.307e-05/0.318, allocations: 120.8 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.318, allocations: 0 / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.318, allocations: 0 / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.318, allocations: 11.94 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.318, allocations: 0 / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.318, allocations: 3.938 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.318, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.3181, allocations: 94.77 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.3181, allocations: 3.938 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.3181, allocations: 0 / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-06/0.3181, allocations: 0 / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.3182, allocations: 8.031 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.3182, allocations: 3.938 kB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.549e-05/0.3182, allocations: 79.27 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3182, allocations: 0 / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.3185, allocations: 59.81 kB / 0.5668 GB, free: 14.55 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.0007107/0.3192, allocations: 0.7167 MB / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.243e-05/0.3193, allocations: 71.33 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3193, allocations: 4 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.3194, allocations: 51.41 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.3195, allocations: 4 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.3198, allocations: 126.5 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.3201, allocations: 0.6729 MB / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.22e-06/0.3201, allocations: 0 / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.3201, allocations: 11.5 kB / 0.5684 GB, free: 12.78 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3201, allocations: 4 kB / 0.5684 GB, free: 12.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.3433, allocations: 2.119 MB / 0.5705 GB, free: 10.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/8.137, allocations: 0 / 0.5705 GB, free: 10.72 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.846760844346136] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.212200652807951 8.236765765 7.915986247 Calling exit ...