Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.002231/0.002231, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.00253/0.00253, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.46/1.46, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 46.89 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003741/0.003741, allocations: 75.88 kB / 0.4912 GB, free: 8.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2077, allocations: 65.99 MB / 0.5557 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.002852/0.2105, allocations: 0.497 MB / 0.5562 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.2127, allocations: 0.7625 MB / 0.5569 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.2127, allocations: 0 / 0.5569 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.2127, allocations: 4 kB / 0.5569 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.672e-06/0.2127, allocations: 4 kB / 0.5569 GB, free: 4.961 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.002725/0.2154, allocations: 0.6615 MB / 0.5576 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.186e-05/0.2155, allocations: 0 / 0.5576 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.2155, allocations: 8 kB / 0.5576 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.743e-05/0.2156, allocations: 4 kB / 0.5576 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.231e-05/0.2156, allocations: 0 / 0.5576 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.752e-06/0.2156, allocations: 0 / 0.5576 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.2167, allocations: 415.3 kB / 0.558 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.2167, allocations: 0 / 0.558 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.2167, allocations: 7.922 kB / 0.558 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007845/0.2175, allocations: 335.2 kB / 0.5583 GB, free: 3.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2175, allocations: 0 / 0.5583 GB, free: 3.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2175, allocations: 0 / 0.5583 GB, free: 3.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.2175, allocations: 4 kB / 0.5583 GB, free: 3.539 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.0006199/0.2182, allocations: 392.7 kB / 0.5587 GB, free: 3.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.2182, allocations: 12.03 kB / 0.5587 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.2183, allocations: 34.69 kB / 0.5587 GB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.2183, allocations: 0.9375 kB / 0.5587 GB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2184, allocations: 168.3 kB / 0.5589 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2185, allocations: 384 / 0.5589 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.2185, allocations: 8.312 kB / 0.5589 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.2186, allocations: 30.27 kB / 0.5589 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2186, allocations: 7.922 kB / 0.5589 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.2186, allocations: 3.984 kB / 0.5589 GB, free: 2.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2186, allocations: 0 / 0.5589 GB, free: 2.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.153e-05/0.2186, allocations: 4 kB / 0.5589 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.2188, allocations: 141.7 kB / 0.5591 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.516e-05/0.2189, allocations: 22.55 kB / 0.5591 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.022e-05/0.219, allocations: 8.859 kB / 0.5591 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.219, allocations: 4 kB / 0.5591 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.397e-05/0.2191, allocations: 60.25 kB / 0.5592 GB, free: 2.473 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.843e-06/0.2191, allocations: 0 / 0.5592 GB, free: 2.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002418/0.2193, allocations: 63.41 kB / 0.5592 GB, free: 2.398 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.2194, allocations: 77.11 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.2195, allocations: 97.75 kB / 0.5594 GB, free: 2.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.2195, allocations: 29.7 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.2195, allocations: 84.14 kB / 0.5595 GB, free: 2.078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.2196, allocations: 4.125 kB / 0.5595 GB, free: 2.074 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.2196, allocations: 13.7 kB / 0.5595 GB, free: 2.055 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.2198, allocations: 314.8 kB / 0.5598 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.2198, allocations: 0 / 0.5598 GB, free: 1.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-06/0.2198, allocations: 0 / 0.5598 GB, free: 1.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.979e-05/0.2199, allocations: 60.27 kB / 0.5599 GB, free: 1.664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2199, allocations: 4 kB / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001068/0.22, allocations: 71.45 kB / 0.5599 GB, free: 1.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.22, allocations: 29.7 kB / 0.56 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.22, allocations: 3.938 kB / 0.56 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.22, allocations: 0 / 0.56 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.22, allocations: 3.938 kB / 0.56 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2201, allocations: 0 / 0.56 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.2201, allocations: 4 kB / 0.56 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2201, allocations: 0 / 0.56 GB, free: 1.531 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.0001041/0.2202, allocations: 131.5 kB / 0.5601 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.2202, allocations: 8.031 kB / 0.5601 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.2202, allocations: 11.05 kB / 0.5601 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2202, allocations: 0 / 0.5601 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2202, allocations: 3.938 kB / 0.5601 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2202, allocations: 0 / 0.5601 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.2204, allocations: 149.6 kB / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2204, allocations: 0 / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.2204, allocations: 4 kB / 0.5603 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2204, allocations: 0 / 0.5603 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.2204, allocations: 3.938 kB / 0.5603 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2204, allocations: 3.984 kB / 0.5603 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2204, allocations: 4 kB / 0.5603 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.2205, allocations: 86.84 kB / 0.5604 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.2205, allocations: 85.03 kB / 0.5604 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.2206, allocations: 3.938 kB / 0.5604 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.2206, allocations: 0 / 0.5604 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.2206, allocations: 4 kB / 0.5605 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.2206, allocations: 0 / 0.5605 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.237e-05/0.2206, allocations: 79.31 kB / 0.5605 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2206, allocations: 0 / 0.5605 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004391/0.2211, allocations: 83.73 kB / 0.5606 GB, free: 0.7773 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.001125/0.2222, allocations: 0.7591 MB / 0.5613 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.2223, allocations: 59.34 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2223, allocations: 0 / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.779e-05/0.2224, allocations: 59.39 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.2225, allocations: 3.984 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.223, allocations: 158.3 kB / 0.5616 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.2233, allocations: 0.669 MB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.567e-06/0.2233, allocations: 0 / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.2234, allocations: 11.56 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2234, allocations: 0 / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.2512, allocations: 2.807 MB / 0.565 GB, free: 12.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/8.504, allocations: 0.5312 kB / 0.565 GB, free: 12.19 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.47616048110649] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.574357645120472 8.590899857 8.369904632999999 Calling exit ...