Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.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.001811/0.001811, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002244/0.002244, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.428/1.428, allocations: 230.5 MB / 258.2 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.23/0.23, allocations: 46.94 MB / 361.6 MB, free: 4.211 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-beta.om/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.TestVectors,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 79.86 kB / 0.497 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3085, allocations: 66.08 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001726/0.3102, allocations: 0.4893 MB / 0.562 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.3118, allocations: 0.7744 MB / 0.5627 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.3118, allocations: 3.938 kB / 0.5627 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.085e-05/0.3118, allocations: 0 / 0.5627 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.3118, allocations: 0 / 0.5627 GB, free: 3.059 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.001878/0.3137, allocations: 0.6805 MB / 0.5634 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.062e-05/0.3137, allocations: 0 / 0.5634 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.3138, allocations: 4 kB / 0.5634 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.591e-05/0.3138, allocations: 3.984 kB / 0.5634 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.547e-05/0.3138, allocations: 0 / 0.5634 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.62e-06/0.3138, allocations: 0 / 0.5634 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008665/0.3147, allocations: 482.5 kB / 0.5639 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-06/0.3147, allocations: 0 / 0.5639 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.3147, allocations: 11.94 kB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.3153, allocations: 353.1 kB / 0.5642 GB, free: 1.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3153, allocations: 4 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3153, allocations: 0 / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.3153, allocations: 0 / 0.5642 GB, free: 1.543 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.0004185/0.3157, allocations: 315.6 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3158, allocations: 8.031 kB / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.3158, allocations: 30.75 kB / 0.5645 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.3158, allocations: 4.938 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.672e-05/0.3159, allocations: 107.6 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3159, allocations: 4.312 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.3159, allocations: 384 / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.956e-05/0.316, allocations: 34.25 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.316, allocations: 3.938 kB / 0.5647 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.3161, allocations: 3.938 kB / 0.5647 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3161, allocations: 0 / 0.5647 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.758e-05/0.3161, allocations: 4 kB / 0.5647 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.3163, allocations: 116.8 kB / 0.5648 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/0.3163, allocations: 26.5 kB / 0.5648 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.3163, allocations: 8.953 kB / 0.5648 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.3163, allocations: 0 / 0.5648 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/0.3164, allocations: 64.25 kB / 0.5649 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3164, allocations: 0 / 0.5649 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002265/0.3166, allocations: 63.34 kB / 0.565 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.3167, allocations: 81.23 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.3167, allocations: 93.81 kB / 0.5651 GB, free: 416 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.3168, allocations: 25.7 kB / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.3168, allocations: 80.14 kB / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.3168, allocations: 4 kB / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.3168, allocations: 21.7 kB / 0.5653 GB, free: 268 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.317, allocations: 310.8 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-06/0.317, allocations: 3.938 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-06/0.317, allocations: 8 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.3171, allocations: 60.27 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3171, allocations: 0 / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.34e-05/0.3172, allocations: 63.39 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.3172, allocations: 33.7 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3172, allocations: 3.938 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3172, allocations: 0 / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.3172, allocations: 0 / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3172, allocations: 0 / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.3173, allocations: 8.094 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3173, allocations: 7.938 kB / 0.5657 GB, free: 15.73 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 9.705e-05/0.3174, allocations: 135.5 kB / 0.5659 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.3174, allocations: 3.984 kB / 0.5659 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.335e-05/0.3174, allocations: 6.938 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3174, allocations: 4 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3174, allocations: 0 / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.3174, allocations: 0 / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.3176, allocations: 112.8 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3176, allocations: 3.938 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-07/0.3176, allocations: 4 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.3176, allocations: 4 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3176, allocations: 11.92 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.3176, allocations: 0 / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3176, allocations: 0 / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.3177, allocations: 86.84 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.3177, allocations: 3.984 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.3177, allocations: 7.969 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-06/0.3177, allocations: 0 / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.3177, allocations: 4 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3177, allocations: 3.938 kB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.211e-05/0.3178, allocations: 75.28 kB / 0.5662 GB, free: 15.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3178, allocations: 0 / 0.5662 GB, free: 15.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.3182, allocations: 83.73 kB / 0.5663 GB, free: 15.11 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.000894/0.319, allocations: 0.7588 MB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.3192, allocations: 55.41 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3192, allocations: 0 / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.3192, allocations: 63.33 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.3193, allocations: 0 / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.3197, allocations: 142.6 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.3201, allocations: 0.6729 MB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.194e-06/0.3202, allocations: 4 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.3202, allocations: 7.438 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3202, allocations: 0 / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.3473, allocations: 2.833 MB / 0.5707 GB, free: 10.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.385, allocations: 4.062 kB / 0.5707 GB, free: 10.51 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.13346647983417] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.45369502203539 8.469651612 8.151116623 Calling exit ...