Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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.001709/0.001709, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001486/0.001486, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2201/0.2201, allocations: 44.94 MB / 359.6 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestVectors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 59.91 kB / 0.4938 GB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.314, allocations: 65.47 MB / 0.5577 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001598/0.3156, allocations: 497.6 kB / 0.5582 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.317, allocations: 0.7292 MB / 0.5589 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.466e-05/0.317, allocations: 0 / 0.5589 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.317, allocations: 3.938 kB / 0.5589 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.692e-06/0.317, allocations: 4 kB / 0.5589 GB, free: 6.359 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.3189, allocations: 0.6311 MB / 0.5595 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.816e-05/0.319, allocations: 4 kB / 0.5595 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.319, allocations: 3.984 kB / 0.5595 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.319, allocations: 8 kB / 0.5595 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.533e-05/0.319, allocations: 0 / 0.5595 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-06/0.319, allocations: 0 / 0.5595 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007363/0.3198, allocations: 419.2 kB / 0.5599 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.3198, allocations: 3.984 kB / 0.5599 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.545e-05/0.3198, allocations: 0 / 0.5599 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.3203, allocations: 341 kB / 0.5603 GB, free: 4.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3203, allocations: 0 / 0.5603 GB, free: 4.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3203, allocations: 0 / 0.5603 GB, free: 4.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.3203, allocations: 4 kB / 0.5603 GB, free: 4.961 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.000357/0.3206, allocations: 315.5 kB / 0.5606 GB, free: 4.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3207, allocations: 12.03 kB / 0.5606 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.004e-05/0.3207, allocations: 192 / 0.5606 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.6e-05/0.3207, allocations: 34.73 kB / 0.5606 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.025e-05/0.3207, allocations: 0.9375 kB / 0.5606 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.064e-05/0.3208, allocations: 107.6 kB / 0.5607 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-06/0.3208, allocations: 4.375 kB / 0.5607 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.3208, allocations: 384 / 0.5607 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.068e-05/0.3209, allocations: 67.66 kB / 0.5608 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3209, allocations: 4 kB / 0.5608 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.3209, allocations: 0 / 0.5608 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3209, allocations: 0 / 0.5608 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.025e-05/0.321, allocations: 25.7 kB / 0.5608 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.3211, allocations: 120.8 kB / 0.5609 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.754e-05/0.3211, allocations: 44.28 kB / 0.561 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.3212, allocations: 38.59 kB / 0.561 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/0.3212, allocations: 0 / 0.561 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.3212, allocations: 68.12 kB / 0.5611 GB, free: 3.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.3212, allocations: 0 / 0.5611 GB, free: 3.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001752/0.3214, allocations: 122.8 kB / 0.5612 GB, free: 3.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3215, allocations: 81.11 kB / 0.5613 GB, free: 3.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.447e-05/0.3215, allocations: 93.81 kB / 0.5614 GB, free: 3.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.3215, allocations: 25.7 kB / 0.5614 GB, free: 3.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.3216, allocations: 80.14 kB / 0.5615 GB, free: 3.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.3216, allocations: 0 / 0.5615 GB, free: 3.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.3216, allocations: 21.7 kB / 0.5615 GB, free: 3.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3217, allocations: 314.8 kB / 0.5618 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.3217, allocations: 25.7 kB / 0.5618 GB, free: 3.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.874e-05/0.3218, allocations: 29.7 kB / 0.5618 GB, free: 3.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/0.3218, allocations: 68.39 kB / 0.5619 GB, free: 3.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3218, allocations: 0 / 0.5619 GB, free: 3.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.161e-05/0.3219, allocations: 89.09 kB / 0.562 GB, free: 2.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.3219, allocations: 37.64 kB / 0.562 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3219, allocations: 0 / 0.562 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.322, allocations: 0 / 0.562 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.322, allocations: 3.938 kB / 0.562 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.322, allocations: 0 / 0.562 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.322, allocations: 0 / 0.562 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.322, allocations: 4 kB / 0.562 GB, free: 2.859 MB / 398.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.812e-05/0.3221, allocations: 139.6 kB / 0.5622 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.3221, allocations: 7.938 kB / 0.5622 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.047e-06/0.3221, allocations: 3 kB / 0.5622 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.3221, allocations: 0 / 0.5622 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3221, allocations: 0 / 0.5622 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.3221, allocations: 3.938 kB / 0.5622 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.804e-05/0.3222, allocations: 112.8 kB / 0.5623 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.3222, allocations: 4 kB / 0.5623 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-06/0.3222, allocations: 3.984 kB / 0.5623 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3222, allocations: 3.938 kB / 0.5623 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3222, allocations: 8 kB / 0.5623 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.3222, allocations: 0 / 0.5623 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3222, allocations: 0 / 0.5623 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.3223, allocations: 116.5 kB / 0.5624 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-06/0.3223, allocations: 0 / 0.5624 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3223, allocations: 7.938 kB / 0.5624 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.001e-05/0.3223, allocations: 4 kB / 0.5624 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-06/0.3224, allocations: 0 / 0.5624 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.3224, allocations: 3.938 kB / 0.5624 GB, free: 2.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.216e-05/0.3224, allocations: 75.28 kB / 0.5625 GB, free: 2.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3224, allocations: 8.031 kB / 0.5625 GB, free: 2.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.3227, allocations: 79.73 kB / 0.5626 GB, free: 2.199 MB / 398.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.0008069/0.3235, allocations: 0.7888 MB / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.3236, allocations: 110.8 kB / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3236, allocations: 0 / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.141e-05/0.3237, allocations: 81.11 kB / 0.5635 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.3238, allocations: 4 kB / 0.5635 GB, free: 1.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.3241, allocations: 180.3 kB / 0.5637 GB, free: 0.918 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.965e-05/0.3242, allocations: 51.36 kB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.622e-06/0.3242, allocations: 4 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.124e-05/0.3242, allocations: 7.438 kB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3242, allocations: 4 kB / 0.5638 GB, free: 0.832 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.3464, allocations: 2.989 MB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.45, allocations: 14.41 kB / 0.5667 GB, free: 13.97 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.295789322000928] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.608043550979346 11.623580627 11.300295214 Calling exit ...