Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00125/0.00125, 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.001426/0.001426, allocations: 212.6 kB / 24.51 MB, free: 3.945 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.225/0.225, allocations: 46.96 MB / 361.7 MB, free: 4.035 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.TestVectors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 63.91 kB / 0.4969 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3294, allocations: 66.02 MB / 0.5613 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.00163/0.3311, allocations: 497 kB / 0.5618 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3325, allocations: 0.7315 MB / 0.5625 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.394e-05/0.3325, allocations: 4 kB / 0.5625 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.3325, allocations: 0 / 0.5625 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.32e-06/0.3325, allocations: 0 / 0.5625 GB, free: 3.012 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.00175/0.3342, allocations: 0.6419 MB / 0.5632 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.688e-05/0.3343, allocations: 4 kB / 0.5632 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.3343, allocations: 0 / 0.5632 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.3344, allocations: 3.938 kB / 0.5632 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.7e-05/0.3344, allocations: 0 / 0.5632 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.48e-06/0.3344, allocations: 0 / 0.5632 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007713/0.3351, allocations: 423.2 kB / 0.5636 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.3352, allocations: 0 / 0.5636 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.3352, allocations: 0 / 0.5636 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004946/0.3357, allocations: 341 kB / 0.5639 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3357, allocations: 4 kB / 0.5639 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3357, allocations: 0 / 0.5639 GB, free: 1.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3357, allocations: 4 kB / 0.5639 GB, free: 1.609 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.0004294/0.3361, allocations: 315.5 kB / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3362, allocations: 8.031 kB / 0.5642 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.022e-05/0.3362, allocations: 192 / 0.5642 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.784e-05/0.3362, allocations: 34.75 kB / 0.5642 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.3362, allocations: 0.9375 kB / 0.5642 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.227e-05/0.3363, allocations: 111.5 kB / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.3363, allocations: 384 / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.3363, allocations: 384 / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.3365, allocations: 67.72 kB / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3365, allocations: 0 / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.3365, allocations: 0 / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3365, allocations: 3.938 kB / 0.5644 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.548e-05/0.3365, allocations: 29.7 kB / 0.5644 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.3366, allocations: 116.8 kB / 0.5646 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.285e-05/0.3367, allocations: 44.31 kB / 0.5646 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.3367, allocations: 38.55 kB / 0.5646 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-06/0.3368, allocations: 0 / 0.5646 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.3368, allocations: 64.27 kB / 0.5647 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.3368, allocations: 4 kB / 0.5647 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002127/0.337, allocations: 118.7 kB / 0.5648 GB, free: 488 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.3371, allocations: 81.11 kB / 0.5649 GB, free: 388 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.251e-05/0.3371, allocations: 93.81 kB / 0.565 GB, free: 284 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.3372, allocations: 25.7 kB / 0.565 GB, free: 252 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.3372, allocations: 84.14 kB / 0.5651 GB, free: 164 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.3372, allocations: 0 / 0.5651 GB, free: 164 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.3372, allocations: 17.66 kB / 0.5651 GB, free: 140 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3374, allocations: 322.8 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.3374, allocations: 25.7 kB / 0.5654 GB, free: 15.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.3375, allocations: 29.83 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/0.3375, allocations: 68.2 kB / 0.5655 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3375, allocations: 0 / 0.5655 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.492e-05/0.3376, allocations: 89.09 kB / 0.5656 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.3377, allocations: 33.64 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3377, allocations: 0 / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3377, allocations: 4 kB / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.3377, allocations: 0 / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.3377, allocations: 0 / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.585e-05/0.3377, allocations: 0 / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3377, allocations: 4.094 kB / 0.5657 GB, free: 15.51 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.0001097/0.3378, allocations: 139.5 kB / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/0.3378, allocations: 3.938 kB / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.278e-05/0.3378, allocations: 6.984 kB / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-07/0.3378, allocations: 0 / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.3378, allocations: 4 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3378, allocations: 0 / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.397e-05/0.3379, allocations: 116.8 kB / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3379, allocations: 0 / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.3379, allocations: 0 / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3379, allocations: 7.938 kB / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-06/0.3379, allocations: 0 / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.3379, allocations: 4 kB / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.338, allocations: 7.922 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.3381, allocations: 112.5 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-06/0.3381, allocations: 0 / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3381, allocations: 11.92 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-06/0.3381, allocations: 0 / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.3381, allocations: 4 kB / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3381, allocations: 0 / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.513e-05/0.3382, allocations: 79.31 kB / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3382, allocations: 0 / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.3385, allocations: 83.73 kB / 0.5662 GB, free: 14.85 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.0008281/0.3393, allocations: 0.7764 MB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.3395, allocations: 118.8 kB / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3395, allocations: 0 / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.074e-05/0.3395, allocations: 81.11 kB / 0.5672 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.0001124/0.3396, allocations: 7.359 kB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.34, allocations: 168.2 kB / 0.5673 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.232e-05/0.3401, allocations: 59.34 kB / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.664e-06/0.3401, allocations: 4 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.3401, allocations: 11.38 kB / 0.5674 GB, free: 13.49 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3401, allocations: 0 / 0.5674 GB, free: 13.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.3628, allocations: 2.991 MB / 0.5703 GB, free: 10.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.32, allocations: 6.344 kB / 0.5703 GB, free: 10.63 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.123926970991306] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.475631396984681 11.497418087 11.157488546 Calling exit ...