Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001787/0.001787, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001434/0.001434, allocations: 206.2 kB / 24.52 MB, free: 4.156 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.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2124/0.2124, allocations: 46.94 MB / 361.6 MB, free: 4.27 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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 68.09 kB / 0.4969 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3041, allocations: 66.04 MB / 0.5614 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001477/0.3056, allocations: 493 kB / 0.5619 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.3085, allocations: 2.169 MB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.3086, allocations: 3.938 kB / 0.564 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.3086, allocations: 0 / 0.564 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5e-06/0.3086, allocations: 0 / 0.564 GB, free: 1.793 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.001992/0.3106, allocations: 0.7627 MB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.506e-05/0.3106, allocations: 4 kB / 0.5648 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.3106, allocations: 0 / 0.5648 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.471e-05/0.3107, allocations: 7.984 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.448e-05/0.3107, allocations: 0 / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.558e-06/0.3107, allocations: 4 kB / 0.5648 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.313, allocations: 1.708 MB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-06/0.313, allocations: 4 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.3131, allocations: 0 / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.3147, allocations: 1.565 MB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3147, allocations: 3.938 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3147, allocations: 0 / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3147, allocations: 4 kB / 0.568 GB, free: 13.73 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.0005597/0.3153, allocations: 339.4 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.3153, allocations: 15.95 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.442e-05/0.3153, allocations: 192 / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.782e-05/0.3153, allocations: 30.75 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.3154, allocations: 8.938 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.835e-05/0.3155, allocations: 106.5 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.3155, allocations: 4.125 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.3155, allocations: 0 / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.705e-05/0.3155, allocations: 29.7 kB / 0.5685 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3156, allocations: 3.984 kB / 0.5685 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.3156, allocations: 3.938 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3156, allocations: 0 / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.3156, allocations: 3.938 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.3158, allocations: 120.8 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.759e-05/0.3158, allocations: 26.52 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.3158, allocations: 8.953 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.3158, allocations: 0 / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.3159, allocations: 56.27 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.3159, allocations: 0 / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001701/0.316, allocations: 71.28 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.3161, allocations: 85.23 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.294e-05/0.3162, allocations: 89.86 kB / 0.5689 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3162, allocations: 25.7 kB / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.3162, allocations: 80.14 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3162, allocations: 4 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.3162, allocations: 9.719 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3164, allocations: 310.8 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-06/0.3164, allocations: 0 / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.3164, allocations: 11.98 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.202e-05/0.3164, allocations: 64.27 kB / 0.5694 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3164, allocations: 0 / 0.5694 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.989e-05/0.3165, allocations: 63.28 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.3165, allocations: 33.7 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3166, allocations: 3.984 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3166, allocations: 0 / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3166, allocations: 0 / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3166, allocations: 0 / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.3166, allocations: 4.094 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.3166, allocations: 0 / 0.5695 GB, free: 11.91 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.721e-05/0.3167, allocations: 143.5 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-06/0.3167, allocations: 0 / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.077e-06/0.3167, allocations: 3 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3167, allocations: 4 kB / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3167, allocations: 3.938 kB / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.3167, allocations: 0 / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.833e-05/0.3168, allocations: 120.7 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3168, allocations: 3.938 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-06/0.3168, allocations: 8 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3168, allocations: 4 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.3168, allocations: 0 / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.3168, allocations: 0 / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3168, allocations: 0 / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.3169, allocations: 98.7 kB / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-06/0.3169, allocations: 0 / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.3169, allocations: 4.031 kB / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-06/0.3169, allocations: 0 / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.317, allocations: 4 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.317, allocations: 0 / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.33e-05/0.317, allocations: 75.28 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.317, allocations: 0 / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007869/0.3178, allocations: 279.5 kB / 0.5702 GB, free: 11.09 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.001699/0.3195, allocations: 0.9443 MB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.643e-05/0.3196, allocations: 59.41 kB / 0.5712 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3196, allocations: 0 / 0.5712 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.901e-05/0.3196, allocations: 55.41 kB / 0.5713 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.3197, allocations: 4 kB / 0.5713 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.3203, allocations: 166.3 kB / 0.5714 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3206, allocations: 0.6768 MB / 0.5721 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.214e-06/0.3206, allocations: 0 / 0.5721 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.3206, allocations: 11.44 kB / 0.5721 GB, free: 9.062 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3206, allocations: 0 / 0.5721 GB, free: 9.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.3505, allocations: 8.382 MB / 0.5803 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.46, allocations: 4.062 kB / 0.5803 GB, free: 0.8086 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.20225961500546] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.618336513987742 11.64239285 11.323325347 Calling exit ...