Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.001233/0.001233, allocations: 112.2 kB / 21.22 MB, free: 0.7422 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.001357/0.001357, allocations: 213.1 kB / 24.53 MB, free: 4.129 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.383/1.383, 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.22/0.22, allocations: 46.93 MB / 361.6 MB, free: 4.281 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.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 59.91 kB / 0.4969 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3067, allocations: 66.03 MB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001638/0.3083, allocations: 0.4959 MB / 0.5619 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.3106, allocations: 1.618 MB / 0.5635 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.3106, allocations: 0 / 0.5635 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.3106, allocations: 0 / 0.5635 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.352e-06/0.3106, allocations: 0 / 0.5635 GB, free: 2.348 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.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.0009797/0.3116, allocations: 303.1 kB / 0.5637 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.391e-05/0.3117, allocations: 4 kB / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.3117, allocations: 7.984 kB / 0.5638 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.784e-05/0.3117, allocations: 0 / 0.5638 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.789e-05/0.3117, allocations: 4 kB / 0.5638 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.472e-06/0.3117, allocations: 0 / 0.5638 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009464/0.3127, allocations: 0.6103 MB / 0.5644 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.545e-06/0.3127, allocations: 0 / 0.5644 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.3127, allocations: 0 / 0.5644 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.3132, allocations: 336.9 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3132, allocations: 0 / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.3132, allocations: 3.984 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.3132, allocations: 0 / 0.5647 GB, free: 1.094 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.0004015/0.3136, allocations: 295.7 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3136, allocations: 16.03 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.079e-05/0.3137, allocations: 192 / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.67e-05/0.3137, allocations: 30.75 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.3137, allocations: 0.9375 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.141e-05/0.3138, allocations: 106.5 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3138, allocations: 4.375 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.3138, allocations: 384 / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.724e-05/0.3139, allocations: 33.62 kB / 0.5652 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3139, allocations: 0 / 0.5652 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.3139, allocations: 8 kB / 0.5652 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3139, allocations: 3.938 kB / 0.5652 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/0.3139, allocations: 0 / 0.5652 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.3141, allocations: 112.8 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.426e-05/0.3141, allocations: 22.61 kB / 0.5653 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.351e-05/0.3141, allocations: 4.859 kB / 0.5653 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.3141, allocations: 3.938 kB / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/0.3142, allocations: 72.25 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.3142, allocations: 0 / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001615/0.3144, allocations: 63.34 kB / 0.5654 GB, free: 180 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.3144, allocations: 77.11 kB / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.314e-05/0.3145, allocations: 97.81 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3145, allocations: 25.7 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.3145, allocations: 80.14 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.3145, allocations: 3.984 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.3146, allocations: 17.84 kB / 0.5657 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3147, allocations: 310.8 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-06/0.3147, allocations: 0 / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-06/0.3147, allocations: 0 / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.3148, allocations: 68.2 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3148, allocations: 0 / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.988e-05/0.3149, allocations: 67.33 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.3149, allocations: 33.8 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3149, allocations: 4 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3149, allocations: 0 / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.3149, allocations: 4 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3149, allocations: 0 / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.3149, allocations: 3.984 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.3149, allocations: 3.938 kB / 0.5662 GB, free: 15.31 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.0001019/0.315, allocations: 139.5 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.3151, allocations: 7.922 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.189e-05/0.3151, allocations: 11 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.3151, allocations: 0 / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3151, allocations: 0 / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3151, allocations: 4 kB / 0.5663 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.918e-05/0.3152, allocations: 112.8 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3152, allocations: 0 / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-06/0.3152, allocations: 3.938 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3152, allocations: 3.984 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3152, allocations: 4 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.3152, allocations: 0 / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3152, allocations: 3.938 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.74e-05/0.3153, allocations: 86.84 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.3153, allocations: 15.86 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.3153, allocations: 0 / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-06/0.3153, allocations: 0 / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-06/0.3153, allocations: 0 / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.3153, allocations: 4 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.184e-05/0.3153, allocations: 75.28 kB / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3153, allocations: 4.031 kB / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.3157, allocations: 67.8 kB / 0.5667 GB, free: 14.69 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.0007557/0.3164, allocations: 0.7142 MB / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.455e-05/0.3165, allocations: 59.41 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3165, allocations: 0 / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.3165, allocations: 63.47 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.3167, allocations: 10.59 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.317, allocations: 126.5 kB / 0.5677 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.3173, allocations: 0.669 MB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.679e-06/0.3173, allocations: 0 / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.3173, allocations: 15.38 kB / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3173, allocations: 0 / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.3385, allocations: 2.249 MB / 0.5705 GB, free: 10.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.16, allocations: 15 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.89171110803727] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.338352709019091 11.353582259 11.037373436 Calling exit ...