Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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.001245/0.001245, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001368/0.001368, allocations: 211 kB / 24.53 MB, free: 4.07 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.346/1.346, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2274/0.2274, allocations: 46.92 MB / 361.6 MB, free: 4.164 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.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 79.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3026, allocations: 66.08 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001593/0.3042, allocations: 495.2 kB / 0.562 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.3062, allocations: 1.579 MB / 0.5635 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.3062, allocations: 4 kB / 0.5635 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.3062, allocations: 0 / 0.5635 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.69e-06/0.3062, allocations: 3.938 kB / 0.5635 GB, free: 2.199 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009065/0.3072, allocations: 251.4 kB / 0.5637 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.605e-05/0.3072, allocations: 3.984 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.3072, allocations: 0 / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.687e-05/0.3073, allocations: 3.984 kB / 0.5638 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.731e-05/0.3073, allocations: 4 kB / 0.5638 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-06/0.3073, allocations: 0 / 0.5638 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.3083, allocations: 0.8 MB / 0.5645 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.035e-06/0.3083, allocations: 4 kB / 0.5645 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.412e-05/0.3083, allocations: 0 / 0.5645 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006833/0.309, allocations: 0.657 MB / 0.5652 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.309, allocations: 0 / 0.5652 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.309, allocations: 8 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.309, allocations: 0 / 0.5652 GB, free: 484 kB / 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.0003936/0.3094, allocations: 287.8 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3095, allocations: 12.03 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.196e-05/0.3095, allocations: 4.188 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.439e-05/0.3095, allocations: 30.75 kB / 0.5655 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.945e-05/0.3095, allocations: 0.9375 kB / 0.5655 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.604e-05/0.3096, allocations: 110.6 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.3096, allocations: 8.312 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.3096, allocations: 384 / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.663e-05/0.3097, allocations: 33.64 kB / 0.5657 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.3097, allocations: 3.938 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.3097, allocations: 0 / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3097, allocations: 0 / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.518e-05/0.3097, allocations: 0 / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.3099, allocations: 124.7 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.277e-05/0.3099, allocations: 22.56 kB / 0.5658 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.3099, allocations: 4.859 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.3099, allocations: 3.938 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.31, allocations: 60.36 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.31, allocations: 0 / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.3101, allocations: 71.33 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.3102, allocations: 77.11 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.193e-05/0.3102, allocations: 97.94 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.3102, allocations: 25.7 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.3103, allocations: 80.14 kB / 0.5662 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.3103, allocations: 0 / 0.5662 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.3103, allocations: 13.72 kB / 0.5662 GB, free: 15.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3104, allocations: 310.8 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-06/0.3104, allocations: 0 / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-06/0.3105, allocations: 4 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.619e-05/0.3105, allocations: 72.25 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3105, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.772e-05/0.3106, allocations: 67.28 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.3106, allocations: 31.89 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3106, allocations: 7.984 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.3106, allocations: 0 / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.3106, allocations: 0 / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.3106, allocations: 0 / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/0.3106, allocations: 0 / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.3106, allocations: 0 / 0.5667 GB, free: 14.7 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 8.927e-05/0.3107, allocations: 148.9 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.3107, allocations: 3.938 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.197e-06/0.3108, allocations: 3 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.3108, allocations: 0 / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3108, allocations: 0 / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3108, allocations: 4 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.029e-05/0.3109, allocations: 116.8 kB / 0.567 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.3109, allocations: 0 / 0.567 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-06/0.3109, allocations: 3.938 kB / 0.567 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.3109, allocations: 7.938 kB / 0.567 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3109, allocations: 7.938 kB / 0.567 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.3109, allocations: 0 / 0.567 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3109, allocations: 0 / 0.567 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.922e-05/0.311, allocations: 90.81 kB / 0.5671 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-06/0.311, allocations: 7.938 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-06/0.311, allocations: 0 / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-06/0.311, allocations: 0 / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.311, allocations: 4.031 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.311, allocations: 8 kB / 0.5671 GB, free: 14.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.09e-05/0.311, allocations: 76.3 kB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.311, allocations: 0 / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.3114, allocations: 123.9 kB / 0.5673 GB, free: 14.02 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.0009734/0.3124, allocations: 0.7053 MB / 0.568 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.402e-05/0.3125, allocations: 59.41 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3125, allocations: 4.062 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.3125, allocations: 59.39 kB / 0.5681 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.3126, allocations: 0 / 0.5681 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.313, allocations: 130.5 kB / 0.5682 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3133, allocations: 0.6729 MB / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.669e-06/0.3133, allocations: 3.938 kB / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.355e-05/0.3133, allocations: 7.438 kB / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3133, allocations: 0 / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.3373, allocations: 4.88 MB / 0.5736 GB, free: 7.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.94, allocations: 7.984 kB / 0.5736 GB, free: 7.48 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.618083849956747] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.088319228030741 11.103570388 10.791494404 Calling exit ...