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.001736/0.001736, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002171/0.002171, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.389/1.389, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2211/0.2211, allocations: 46.92 MB / 361.6 MB, free: 4.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 75.88 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2944, allocations: 66.08 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001512/0.2959, allocations: 495.6 kB / 0.562 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2972, allocations: 0.7744 MB / 0.5627 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.54e-05/0.2973, allocations: 0 / 0.5627 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.027e-06/0.2973, allocations: 4 kB / 0.5627 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.92e-06/0.2973, allocations: 0 / 0.5627 GB, free: 3.023 MB / 398.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.001724/0.299, allocations: 0.6841 MB / 0.5634 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.731e-05/0.299, allocations: 0 / 0.5634 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.2991, allocations: 7.984 kB / 0.5634 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.388e-05/0.2991, allocations: 0 / 0.5634 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.723e-05/0.2991, allocations: 3.984 kB / 0.5634 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.55e-06/0.2991, allocations: 0 / 0.5634 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008023/0.2999, allocations: 479.1 kB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-06/0.2999, allocations: 0 / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.2999, allocations: 3.938 kB / 0.5639 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.3004, allocations: 357.2 kB / 0.5642 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3004, allocations: 0 / 0.5642 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3004, allocations: 4 kB / 0.5642 GB, free: 1.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3004, allocations: 0 / 0.5642 GB, free: 1.504 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.0003579/0.3008, allocations: 311.6 kB / 0.5645 GB, free: 1.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3008, allocations: 12.03 kB / 0.5645 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.485e-05/0.3008, allocations: 192 / 0.5645 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.431e-05/0.3009, allocations: 38.67 kB / 0.5645 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.3009, allocations: 0.9375 kB / 0.5645 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.013e-05/0.301, allocations: 103.6 kB / 0.5646 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.301, allocations: 4.375 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.301, allocations: 4.375 kB / 0.5647 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.146e-05/0.3011, allocations: 37.95 kB / 0.5647 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3011, allocations: 3.984 kB / 0.5647 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.3011, allocations: 3.938 kB / 0.5647 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.3011, allocations: 0 / 0.5647 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.436e-05/0.3011, allocations: 4 kB / 0.5647 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.3012, allocations: 116.8 kB / 0.5648 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.81e-05/0.3013, allocations: 22.61 kB / 0.5648 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.3013, allocations: 8.859 kB / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-06/0.3013, allocations: 0 / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.3013, allocations: 60.2 kB / 0.5649 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3013, allocations: 3.938 kB / 0.5649 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001543/0.3015, allocations: 63.45 kB / 0.565 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.3015, allocations: 77.11 kB / 0.565 GB, free: 480 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.169e-05/0.3016, allocations: 101.9 kB / 0.5651 GB, free: 368 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3016, allocations: 25.7 kB / 0.5652 GB, free: 336 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.3016, allocations: 84.14 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.3017, allocations: 0 / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.3017, allocations: 13.72 kB / 0.5653 GB, free: 228 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3018, allocations: 314.8 kB / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.3018, allocations: 0 / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-06/0.3018, allocations: 3.984 kB / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/0.3019, allocations: 68.27 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3019, allocations: 0 / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.874e-05/0.302, allocations: 63.41 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.302, allocations: 33.64 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.302, allocations: 0 / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.302, allocations: 3.984 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.302, allocations: 0 / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.302, allocations: 7.984 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.302, allocations: 0 / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.302, allocations: 0 / 0.5657 GB, free: 15.7 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 8.743e-05/0.3021, allocations: 139.5 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.3021, allocations: 7.938 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-06/0.3021, allocations: 3 kB / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.3021, allocations: 0 / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3021, allocations: 4 kB / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-06/0.3021, allocations: 0 / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.09e-05/0.3022, allocations: 124.8 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.3022, allocations: 0 / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-07/0.3022, allocations: 0 / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.3022, allocations: 11.88 kB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.3022, allocations: 0 / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.3022, allocations: 0 / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3022, allocations: 0 / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.005e-05/0.3023, allocations: 94.77 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-06/0.3023, allocations: 0 / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.3024, allocations: 7.938 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/0.3024, allocations: 0 / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-06/0.3024, allocations: 4.031 kB / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.3024, allocations: 0 / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.399e-05/0.3024, allocations: 75.28 kB / 0.5662 GB, free: 15.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3024, allocations: 0 / 0.5662 GB, free: 15.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.3027, allocations: 87.72 kB / 0.5663 GB, free: 15.06 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.0007487/0.3035, allocations: 0.7621 MB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.343e-05/0.3036, allocations: 55.41 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.3036, allocations: 0 / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.496e-05/0.3036, allocations: 59.34 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.3037, allocations: 0 / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.304, allocations: 150.5 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.3043, allocations: 0.673 MB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.751e-06/0.3043, allocations: 0 / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.3043, allocations: 11.44 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3043, allocations: 0 / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.3254, allocations: 2.95 MB / 0.5708 GB, free: 10.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.81, allocations: 11.86 kB / 0.5708 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.574608205992263] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 10.970860477013048 10.992388177 10.68787289 Calling exit ...