Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.001323/0.001323, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001443/0.001443, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.359/1.359, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.92 MB / 361.6 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 79.86 kB / 0.497 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3031, allocations: 66.07 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001551/0.3047, allocations: 0.4932 MB / 0.562 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.3077, allocations: 2.168 MB / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.3077, allocations: 0 / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.3077, allocations: 3.938 kB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.3077, allocations: 3.938 kB / 0.5641 GB, free: 1.637 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001885/0.3096, allocations: 0.7567 MB / 0.5648 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.236e-05/0.3097, allocations: 3.938 kB / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.186e-05/0.3097, allocations: 0 / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.3097, allocations: 4 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.703e-05/0.3097, allocations: 11.98 kB / 0.5648 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.08e-06/0.3097, allocations: 0 / 0.5648 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.312, allocations: 1.701 MB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-06/0.312, allocations: 0 / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.312, allocations: 3.984 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.3137, allocations: 1.573 MB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3137, allocations: 0 / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3137, allocations: 4 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.3137, allocations: 0 / 0.568 GB, free: 13.58 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005409/0.3142, allocations: 339.4 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3142, allocations: 8.031 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.877e-05/0.3143, allocations: 8.188 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.473e-05/0.3143, allocations: 30.75 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.3143, allocations: 0.9375 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.132e-05/0.3144, allocations: 106.5 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.3144, allocations: 384 / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.3144, allocations: 8.375 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.563e-05/0.3145, allocations: 33.62 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.3145, allocations: 0 / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.3145, allocations: 0 / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-06/0.3145, allocations: 0 / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.942e-05/0.3145, allocations: 11.94 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.3146, allocations: 112.8 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/0.3147, allocations: 26.55 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.3147, allocations: 4.859 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.3147, allocations: 11.91 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.3148, allocations: 60.27 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.3148, allocations: 0 / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001589/0.3149, allocations: 63.42 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.315, allocations: 77.11 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.224e-05/0.315, allocations: 89.86 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.315, allocations: 41.75 kB / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.3151, allocations: 80.14 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.3151, allocations: 0 / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.3151, allocations: 13.72 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3153, allocations: 314.8 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-06/0.3153, allocations: 0 / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-06/0.3153, allocations: 0 / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.976e-05/0.3153, allocations: 64.33 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3153, allocations: 3.938 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.343e-05/0.3154, allocations: 71.33 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.3154, allocations: 29.7 kB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.3154, allocations: 0 / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.3155, allocations: 0 / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.865e-06/0.3155, allocations: 3.938 kB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.3155, allocations: 0 / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.3155, allocations: 4 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3155, allocations: 0 / 0.5696 GB, free: 11.75 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.000132/0.3156, allocations: 140.9 kB / 0.5697 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.3156, allocations: 7.938 kB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.827e-06/0.3156, allocations: 3 kB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.3156, allocations: 0 / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3156, allocations: 0 / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.3156, allocations: 0 / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.319e-05/0.3157, allocations: 112.8 kB / 0.5698 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3157, allocations: 4 kB / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.953e-06/0.3157, allocations: 7.922 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3157, allocations: 7.938 kB / 0.5699 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3158, allocations: 8 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.3158, allocations: 0 / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3158, allocations: 0 / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.438e-05/0.3158, allocations: 86.84 kB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.3159, allocations: 7.922 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.3159, allocations: 3.938 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.262e-05/0.3159, allocations: 4 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-06/0.3159, allocations: 4.031 kB / 0.57 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.3159, allocations: 0 / 0.57 GB, free: 11.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.965e-05/0.3159, allocations: 75.28 kB / 0.57 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3159, allocations: 0 / 0.57 GB, free: 11.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007481/0.3167, allocations: 279.5 kB / 0.5703 GB, free: 10.93 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.001589/0.3183, allocations: 0.9355 MB / 0.5712 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.053e-05/0.3184, allocations: 67.33 kB / 0.5713 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3184, allocations: 0 / 0.5713 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.3184, allocations: 55.41 kB / 0.5713 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.3185, allocations: 0 / 0.5713 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.319, allocations: 166.2 kB / 0.5715 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.3193, allocations: 0.669 MB / 0.5722 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.879e-06/0.3193, allocations: 4.125 kB / 0.5722 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.3193, allocations: 11.44 kB / 0.5722 GB, free: 8.914 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3193, allocations: 0 / 0.5722 GB, free: 8.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/0.3578, allocations: 8.366 MB / 0.5803 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.17, allocations: 11.61 kB / 0.5803 GB, free: 0.6367 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.836120057036169] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.329066295991652 11.344381638 11.027533996 Calling exit ...